Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Federation SAML Source Property Mapping #12766

Open
katrinm86 opened this issue Jan 22, 2025 · 2 comments
Open

Federation SAML Source Property Mapping #12766

katrinm86 opened this issue Jan 22, 2025 · 2 comments
Labels
question Further information is requested

Comments

@katrinm86
Copy link

Describe your question/
So I want to hook up my Authentik instance to a SAML IdP source for federated login.

I checked the following documentation pages

and tried following the "see documentation for a list of all variables" link in the "SAML Source Property Mapping" which points to a non-existing page "https://version-2024-12.goauthentik.io/docs/user-sources/sources/property-mappings/expressions?utm_source=authentik"

but I'm not really seeing how one is supposed to do the attribute mappings.

Is it really required to write your own lookup code for each property like it is done for "name_id" (https://github.com/goauthentik/authentik/blob/main/authentik/sources/saml/processors/response.py#L209)?

Am I something missing?

Thanks

@katrinm86 katrinm86 added the question Further information is requested label Jan 22, 2025
@rissson
Copy link
Member

rissson commented Jan 22, 2025

The latest link is https://docs.goauthentik.io/docs/users-sources/sources/property-mappings/expressions. @tanberry let's check we're linking probably from the UI

@rissson
Copy link
Member

rissson commented Jan 22, 2025

As for the source property mappings code themselves, yes, you need to write whatever you want in there, allowing you to get as much customization as needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants