You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got "oauth2: server response missing access_token" while connecting casdoor using third-party oauth client.
But it's ok while changing casdoor to Keycloak.
After digging into source code, I found a wrong value of TokenEndpoint.
Changing TokenEndpoint: fmt.Sprintf("%s/api/login", oidcOrigin) to TokenEndpoint: fmt.Sprintf("%s/api/login/oauth/access_token", oidcOrigin), would make all thing works well.
The text was updated successfully, but these errors were encountered:
leopku
pushed a commit
to leopku/casdoor
that referenced
this issue
Nov 8, 2021
I got "oauth2: server response missing access_token" while connecting
casdoor
using third-party oauth client.But it's ok while changing
casdoor
toKeycloak
.After digging into source code, I found a wrong value of
TokenEndpoint
.Changing
TokenEndpoint: fmt.Sprintf("%s/api/login", oidcOrigin)
toTokenEndpoint: fmt.Sprintf("%s/api/login/oauth/access_token", oidcOrigin),
would make all thing works well.The text was updated successfully, but these errors were encountered: