Hard-code Authentik userinfo path
This commit is contained in:
parent
8646b7438e
commit
889c075fb6
@ -337,7 +337,7 @@ if ub.oauth_support:
|
|||||||
log.error("Failed to log in with generic OAuth2 provider")
|
log.error("Failed to log in with generic OAuth2 provider")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
resp = blueprint.session.get(blueprint.base_url + "/protocol/openid-connect/userinfo")
|
resp = blueprint.session.get(blueprint.base_url + "/application/o/userinfo")
|
||||||
if not resp.ok:
|
if not resp.ok:
|
||||||
flash(_(u"Failed to fetch user info from generic OAuth2 provider."), category="error")
|
flash(_(u"Failed to fetch user info from generic OAuth2 provider."), category="error")
|
||||||
log.error("Failed to fetch user info from generic OAuth2 provider")
|
log.error("Failed to fetch user info from generic OAuth2 provider")
|
||||||
|
Loading…
Reference in New Issue
Block a user