Overview:
A user trying to login to Vault using Single Sign-On (SSO) is receiving an Error: Assertion is Missing the uid Attribute.
Root Cause:
The SAML Response from the Identity Provider does not include a uid attribute, which is required as it is used to identify the user in Vault.
Solution:
Configure the Identity Provider to include a uid attribute in the SAML Response to Vault. This attribute should hold the Vault user's username or Federated ID based on how the SAML Profile is configured in Vault.
Related Documentation:
- Vault Help Documentation: Vault Help
Send us your feedback: We're always looking for advice to help improve our Knowledge Base! Please let us know if this article was helpful or provide feedback on how we can improve your experience here.