Open simonchrz opened 12 months ago
i've just found this post https://fusionauth.io/community/forum/topic/2391/username-and-email-claims-aren-t-both-honoured-for-identity-providers/2 ...which suggests
to store the value that is delivered from the identity provider in the user.data.email claim
But i want the user to be able to login with email OR username, so i suppose both have to be set on user object ?
@simonchrz
Is it fair to change the title of this to SAML reconcile lambda doesn't set user.username when user.email is provided
?
SAML reconcile lambda doesn't set user.username
Description
Affects versions
fusionauth 1.47.1
Steps to reproduce
see description
Expected behavior
the user.username should be set to the configured (via usernameClaim) SAML attribute.
Screenshots/logs