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
{{ message }}
Repository navigation
Support square bracket access to IdP attributes in arrays
#48686
When configuring an Identity Provider Mapper, we can access nested properties in the JSON using dot notation. However, we cannot currently access individual entries in an array.
Consider the following ID Token returned from the Identity Provider:
We can access a nested claim with some_nested_claim.claim1, but we cannot access the first email using emails[0]
Note that this is already supported when configuring a mapper for a social provider like Google or Microsoft. Hopefully, we should be able to reuse the logic used for social providers for other providers and in the process make the handling of IdP mappers more uniform.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
When configuring an Identity Provider Mapper, we can access nested properties in the JSON using dot notation. However, we cannot currently access individual entries in an array.
Consider the following ID Token returned from the Identity Provider:
We can access a nested claim with some_nested_claim.claim1, but we cannot access the first email using emails[0]
Note that this is already supported when configuring a mapper for a social provider like Google or Microsoft. Hopefully, we should be able to reuse the logic used for social providers for other providers and in the process make the handling of IdP mappers more uniform.
All reactions