mirror of
https://github.com/yusing/godoxy.git
synced 2025-06-09 04:52:35 +02:00
fix: allow oauth_state token to be cross-domain (#40)
External OIDC providers won’t work with the current setup.
This commit is contained in:
parent
51f6391ded
commit
9a12dab600
1 changed files with 2 additions and 1 deletions
|
@ -60,7 +60,8 @@ func OIDCLoginHandler(w http.ResponseWriter, r *http.Request) {
|
|||
Value: state,
|
||||
MaxAge: 300,
|
||||
HttpOnly: true,
|
||||
SameSite: http.SameSiteStrictMode,
|
||||
SameSite: http.SameSiteNoneMode,
|
||||
Secure: true,
|
||||
Path: "/",
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue