How to test Saml assertion

Hi Team,

When I add user-metadatda or app-metadata, I can view and test in the user profile (I can verify by authenticaion Profile feature). But, I am doing some saml assertion for users, How can i view and verify if the assertion is added for the user?

I am doing the assertion using api.samlResponse.setAttribute()!

Thanks!

Hi @ganesh.kumaresan,

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:


Please let me know if this helps and if you have any follow-up questions.

Thanks,
Timotei

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.