Skip to content

Commit 27e81fc

Browse files
deerskindolljmagak
andauthored
RHIDP-7912: omitIdentityTokenOwnershipClaim flag (#1487)
* RHIDP-7912 * RHIDP-7912 * RHIDP-7912 * RHIDP-7912 * RHIDP-7912 * RHIDP-7912 * RHIDP-7912 * Update modules/authentication/proc-reducing-token-size.adoc Co-authored-by: Judith Magak <[email protected]> * Update modules/authentication/proc-reducing-token-size.adoc Co-authored-by: Judith Magak <[email protected]> * Update modules/authentication/proc-reducing-token-size.adoc Co-authored-by: Judith Magak <[email protected]> * Update modules/authentication/proc-reducing-token-size.adoc Co-authored-by: Judith Magak <[email protected]> * Update proc-reducing-token-size.adoc * Update modules/authentication/proc-reducing-token-size.adoc Co-authored-by: Judith Magak <[email protected]> * Update modules/authentication/proc-reducing-token-size.adoc Co-authored-by: Judith Magak <[email protected]> * removed annotations --------- Co-authored-by: Judith Magak <[email protected]>
1 parent 47a5b62 commit 27e81fc

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
3+
[id="authentication-troubleshooting"]
4+
5+
= Troubleshooting authentication issues
6+
7+
Learn how to troubleshoot authentication issues.
8+
9+
include::modules/authentication/proc-reducing-token-size.adoc[leveloffset=+1]

assemblies/assembly-enabling-authentication.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ include::assembly-enabling-authentication-with-github.adoc[leveloffset=+1]
1818

1919
include::modules/authentication/proc-enabling-user-authentication-with-microsoft-azure-with-optional-steps.adoc[leveloffset=+1]
2020

21+
include::assembly-authentication-troubleshooting.adoc[leveloffset=+1]
22+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
:_mod-docs-content-type: PROCEDURE
2+
3+
[id="reducing-token-size"]
4+
= Reducing the size of issued tokens
5+
6+
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.
7+
This makes it easier for consumers of the token to resolve ownership of the user.
8+
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 {product-very-short}.
9+
Use the `omitIdentityTokenOwnershipClaim` flag to remove the `ent` claim from tokens and reduce their size.
10+
11+
.Procedure
12+
13+
. In the `{my-app-config-file}` file, set `omitIdentityTokenOwnershipClaim` to `true` as follows:
14+
+
15+
[source,yaml]
16+
----
17+
auth:
18+
omitIdentityTokenOwnershipClaim: true
19+
----
20+

0 commit comments

Comments
 (0)