Troubleshoot your SAML AD FS configuration
Troubleshooting guidance for solving problems with AD FS and SAML.
Temporarily enable verbose logging
Not appropriate for production
Expanding SAML response data is a temporary change. Do not leave verbose logging on in production as SAML responses may contain sensitive information.
Enable verbose logging for your SAML plugin:
Stream the debug logs directly to the terminal:
Analyze the expanded SAML response
To debug SAML problems, consider the following fields in the expanded response objects:
role
- the configuration details of your SAML roleuser context
- details about the client connecting to Vault
When debugging SAML problems, start with the bound subjects and bound attributes of your SAML role. The provided values should match the attribute details in the user context. For example:
Troubleshooting walkthroughs
- AD FS error 320
- Automatic group mapping fails
- Clients cannot connect to Vault: Invalid
BoundSubjects