Skip to content

Fix authlib amr claim validation#127

Open
dsschult wants to merge 2 commits into
indico:masterfrom
WIPACrepo:fix-amr-claim-validation
Open

Fix authlib amr claim validation#127
dsschult wants to merge 2 commits into
indico:masterfrom
WIPACrepo:fix-amr-claim-validation

Conversation

@dsschult

@dsschult dsschult commented Apr 2, 2026

Copy link
Copy Markdown

When using CILogon, some IDPs do not provide a spec-compliant amr claim, sending a string instead of a list of strings. This causes authlib to raise an error, blocking login.

Authlib recommends allowing these claims via this method. See authlib/authlib#725 for details.

I've tested this on our local indico and it seems to work.

Comment thread flask_multipass/providers/authlib.py Outdated
Co-authored-by: Adrian <adrian@planetcoding.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants