This commit is contained in:
SPRINX0\prochazka
2024-10-02 10:45:06 +02:00
parent 7758fabc89
commit a27a2077ed

View File

@@ -89,6 +89,7 @@ class OAuthProvider extends AuthProviderBase {
// Fallback to id_token in case the access_token is not a JWT
// https://www.oauth.com/oauth2-servers/access-tokens/
// https://github.com/dbgate/dbgate/issues/727
if (!payload && id_token) {
payload = jwt.decode(id_token);
}