Switch from OIDC UserInfo to OAuth 2.0 Token Introspection #1

Merged
erth9960 merged 2 commits from token-introspection into main 2025-03-24 13:59:08 +01:00
Showing only changes of commit 69fd819ee5 - Show all commits

View File

@ -69,7 +69,7 @@ def setup() -> None:
token = request.cookies.get(token_cookie)
user_info = oauth.authorize(token)
if not user_info or not user_info.active:
if not user_info or not user_info['active']:
return Response(status=403)
if not check_access(user_info['entitlements']):