Skip to content

Commit 33820f0

Browse files
committed
feat(oidc): return_via_state to true by default
1 parent 3e5e0de commit 33820f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

util/OdbcProvider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type OidcProvider struct {
1717
EmailClaim string `json:"email_claim" default:"email"`
1818
Order int `json:"order"`
1919
// ReturnViaState when true, passes the return path via the OAuth state parameter instead of the redirect URL path. This is useful for OAuth providers that have strict redirect URL validation.
20-
ReturnViaState bool `json:"return_via_state"`
20+
ReturnViaState bool `json:"return_via_state" default:"true"`
2121
}
2222

2323
type ClaimsProvider interface {

0 commit comments

Comments
 (0)