Chapter 6. Troubleshooting authentication issues


Learn how to troubleshoot authentication issues.

6.1. Reducing the size of issued tokens

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

  1. In the app-config.yaml file, set omitIdentityTokenOwnershipClaim to true as follows:

    auth:
      omitIdentityTokenOwnershipClaim: true
    Copy to Clipboard Toggle word wrap
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top