-
Notifications
You must be signed in to change notification settings - Fork 319
Open
Labels
backendIssues related to Aleph’s backend, API, CLI etc.Issues related to Aleph’s backend, API, CLI etc.bugThings that should work, but don’tThings that should work, but don’t
Description
OS: MacOS Catalina 10.15.7
Docker Version: 20.10.7
Aleph Version: 3.11.0
Good day! We stumbled upon an error while integrating Google OAuth to our Aleph Instance. We have traced the problem to aleph/aleph/oauth.py
, specifically the _parse_access_token
function (line 28). In its current form, it uses the access_token
property which leads to an error when authlib's JsonWebToken.decode function parses it as access_token
is not JWT. It should use id_token
property which is also available in the oauth_token
parameter and we confirmed that it works when we applied the change on our local image.
Metadata
Metadata
Assignees
Labels
backendIssues related to Aleph’s backend, API, CLI etc.Issues related to Aleph’s backend, API, CLI etc.bugThings that should work, but don’tThings that should work, but don’t