Overview
This guide covers platform-level Identity issues that require administrator access — token validation failures across services, LDAP and federation authentication problems, service catalog misconfigurations, and system-scope permission errors.For end-user authentication issues (wrong password, expired token, missing role),
see the Identity User Troubleshooting guide.
Token Validation Failures
Token validation failures across services
Token validation failures across services
Cause: Fernet keys are out of sync between Identity API nodes, or the token has
expired.Diagnose: Verify key synchronization across all nodes. All nodes must have
identical key files in the fernet-keys directory:Compare timestamps across nodes. If keys are inconsistent, force a rotation:Resolution: After rotation, verify validation works:
Check key file count and timestamps on all nodes
Force key rotation via xavs-ansible
Issue and validate a token
Token validates successfully on all Identity API nodes.
All services returning 401 Unauthorized
All services returning 401 Unauthorized
LDAP Authentication Issues
LDAP users cannot authenticate
LDAP users cannot authenticate
Cause: LDAP connection failure, incorrect bind credentials, or user not in the
configured Confirm the user exists in the expected OU and the bind account has read access.Check Identity API logs:
user_tree_dn.Diagnose: Test the LDAP connection from the Identity API node:Test LDAP connectivity
View Identity API logs for LDAP errors
LDAP users not appearing in user list
LDAP users not appearing in user list
Cause: The Update the configuration via XDeploy globals and redeploy if attributes are incorrect.
user_tree_dn does not match the OU where users are located, or
the user_id_attribute is set incorrectly for your directory schema.Resolution: Verify the LDAP configuration matches your directory schema:Check keystone LDAP configuration
Service Catalog Issues
Service catalog returns wrong endpoint
Service catalog returns wrong endpoint
Cause: An endpoint was registered with an incorrect URL or interface type.Diagnose:Identify the incorrect endpoint by its ID and update the URL:
List endpoints for a service
Update endpoint URL
CLI resolves to internal endpoint from external network
CLI resolves to internal endpoint from external network
Cause: The default endpoint interface is Resolution: Unset the override or set it explicitly to
public but the CLI is resolving to
internal due to environment variable override.Diagnose:Check current endpoint interface setting
public:Set interface to public
Federation Issues
SAML authentication fails with mapping error
SAML authentication fails with mapping error
Cause: IdP attributes do not match the mapping rules, or the Resolution: Verify the mapping rules match the attributes your IdP sends.
Use the mapping walkthrough API to test rules:
remote-id does not
match the IdP’s entity ID.Diagnose: Check the Identity API logs for mapping evaluation errors:View federation errors in Identity logs
Test mapping rules
Permission and Scope Errors
403 Forbidden on admin operations
403 Forbidden on admin operations
Cause: The user has the
admin role in the project but not at the system or domain
scope required for administrative operations.Resolution: Grant system-scope admin access:Grant system admin role
Next Steps
Token Configuration
Configure Fernet key rotation to prevent token validation failures.
Authentication Backends
Review LDAP and federation backend configuration options.
Service Catalog
Manage and correct endpoint registrations in the service catalog.
Security Hardening
Apply security best practices to prevent future authentication issues.