Closed BSorbus closed 5 years ago
Can you clarify what you mean when you say it did not work? What specific results were you looking for and what did you get? Was this for a new user or an existing user? Was anything logged out (for instance)?
You may need to add in some logging to discover what attributes are actually found in the SAML response. For instance, You could create your own user update hook and log out each attribute that's attempted: https://github.com/apokalipto/devise_saml_authenticatable/blob/3934b53af92a4ea91b3d3c266535c020a4b807c9/lib/devise_saml_authenticatable.rb#L98.
And it became clear!
When I first logged in, I marked in WSO2 passing only "nameID" (emailAddress). My mistake! The attribute-map mechanism works great!
Hi,
How do I map the attributes from the WSO2 identity server (5.7) to the model and how to configure the devise?
Response from WSO2IS:
attribute-map.yml :