I want to add a custom Oauth2 login
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
but …no custom options
And then
2022/10/21 13:49:41 [635232f5] router: completed GET /user/oauth2/maxkey for 172.x.x.x:1498, 307 Temporary Redirect in 4.1ms @ auth/oauth.go:801(auth.SignInOAuth)
2022/10/21 13:49:44 ...rs/web/auth/oauth.go:872:SignInOAuthCallback() [E] [635232f8] UserSignIn: oauth2: server response missing access_token
2022/10/21 13:49:44 [635232f8] router: completed GET /user/oauth2/maxkey/callback?code=ba924a28-e5bc-4d03-b98f-0da08c92aa95&state=b36580a8-64de-4868-be4d-bf14353b303a for 172.x.x.x:1498, 500 Internal Server Error in 325.9ms @ auth/oauth.go:835(auth.SignInOAuthCallback)
fk !!!!!
docker compose up -build ------NB
that means that /oauth/v20/token
URL is not returning access_token
in response
I tried many methods, but still couldn’t achieve single sign on.
Even if the connection is successful, only one account can be bound. Any account login is A, not A to A, B to B… which means a one-to-one relationship.