Chapter 6. Troubleshooting authentication issues
Learn how to troubleshoot authentication issues.
6.1. Reducing the size of issued tokens Copy linkLink copied to clipboard!
By default, the authentication backend issues user identity tokens with ownership references of the user in the ent claim of the JSON Web Token (JWT) payload. This makes it easier for consumers of the token to resolve ownership of the user. However, depending on the structure of your organization and how you resolve ownership claims, the tokens can grow large and cause HTTP errors that prevent you from accessing parts of RHDH. Use the omitIdentityTokenOwnershipClaim flag to remove the ent claim from tokens and reduce their size.
Procedure
In the
app-config.yamlfile, setomitIdentityTokenOwnershipClaimtotrueas follows:auth: omitIdentityTokenOwnershipClaim: true
auth: omitIdentityTokenOwnershipClaim: trueCopy to Clipboard Copied! Toggle word wrap Toggle overflow