Welcome to the Auth0 Community!
Due to security concerns, Auth0 does not log the SAML Request and Response in the dashboard logs. However, Auth0 SAML connections have a ‘debug mode’ toggle that can be enabled. When enabled, Auth0 will generate a log that contains the user profile attributes sent by the SAML Identity Provider (IdP). This can help you verify if the SAML assertion is added for the user.
If you’re still experiencing issues, you can check the Logs and Users pages in the Auth0 Dashboard to see if Auth0 shows a successful login event. If Auth0’s logs don’t show a successful login event, there might be an issue with the SAML Authentication Assertion returned by the IdP, or Auth0 might be unable to consume the assertion.
For more detailed troubleshooting, you may need to capture an HTTP trace of the login sequence and analyze it to check the information that Auth0 sends to the application.
Also, please let me know if these articles help:
- How to Map SAML Attributes when Auth0 is the SP in the SAML Enterprise Connection
- Save SAML Assertion Attribute to user_metadata or app_metadata Using Rules And Actions
- Map SAML attributes to user_metadata attributes
Please let me know if this helps and if you have any follow-up questions.
Thanks,
Timotei