IdentityPython / SATOSA

Proxy translating between different authentication protocols (SAML2, OpenID Connect and OAuth2)
https://idpy.org
Apache License 2.0
197 stars 121 forks source link

ACR Mapping Documentation Changes #465

Closed ceko closed 2 months ago

ceko commented 3 months ago

Per spec on page 22 in https://docs.oasis-open.org/security/saml/v2.0/saml-authn-context-2.0-os.pdf authentication context class references should be valid URIs. While I think there's little value to parsing an ACR as a URI and validating it's in that format, some SAML libraries do and the proxied assertion will fail at the relying party.

I'd recommend using urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified as the example for fallback mapping in acr_mapping documentation and indicating that other mappings should be valid URIs as well. I'm not tied to any particular mapping choice, I'd just like the examples to be well-formed URIs to save users some potential debugging.

All Submissions:

c00kiemon5ter commented 2 months ago

thank you