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
Some validation may be needed to ensure all values are consistent and fail if one isn't.
The text was updated successfully, but these errors were encountered:
OmarIthawi
changed the title
Compare jwt.payload.org_id with user.app_metadata.organization and raise exception if there's a mismatch
Compare Organization IDs and raise exception if there's a mismatch
Feb 24, 2022
During the backend
get_user_details
we have access to three different Organization IDs:One from in
jwt_payload['org_id']
:https://github.com/appsembler/tahoe-auth0/blob/b1472652c1f3b6fc36be003ab080a4efa8d21061/tahoe_auth0/backend.py#L104
The other one in
user_details.get('app_metadata', {})['organization']
The third one potentially in SiteConfigurations, if we implement fix: Don't use
organization.short_name
when linking with Auth0 #7Some validation may be needed to ensure all values are consistent and fail if one isn't.
The text was updated successfully, but these errors were encountered: