Skip to content

Commit

Permalink
Exploring while I can
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Snaps <[email protected]>
  • Loading branch information
alexsnaps committed Oct 29, 2024
1 parent b7cc27f commit 44052a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/v1beta3/authconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
roles:
expression: auth.identity.realm_access.roles
username:
expression: auth.identity["preferred_username"]
expression: "has(auth.identity.preferred_username) ? auth.identity.preferred_username : 'unknown'"
oauth2-introspection:
oauth2Introspection:
credentialsRef:
Expand All @@ -55,7 +55,7 @@ spec:
roles:
expression: auth.identity.realm_access.roles
username:
expression: auth.identity["preferred_username"]
expression: "has(auth.identity.preferred_username) ? auth.identity.preferred_username : 'unknown'"
cache:
key:
expression: request.headers["authorization"]
Expand Down

0 comments on commit 44052a6

Please sign in to comment.