summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-02-02 15:41:51 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-02-02 15:41:51 +0100
commit984a77bf1e3bff426c86722630e5bfbc1c332895 (patch)
tree791a70c18794003f92040b7ab772df03bba2a27c /src
parent944c0b663340a6cea517d0ee1542fbb6ad4c94e6 (diff)
Set principal claim to preferred_username.
This clearly defines what the principal name is expected to be passed as. Change-Id: I4e56ee1dc79ac2c7ef8af0e382065e84e2a05fe0
Diffstat (limited to 'src')
-rw-r--r--src/main/resources/application.properties1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 833aa45..5a4fcde 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -23,6 +23,7 @@ quarkus.datasource.min-size = 0
quarkus.oidc.auth-server-url = https://login.benkard.de/auth/realms/master
quarkus.oidc.client-id = mulkcms
quarkus.oidc.application-type = web-app
+quarkus.oidc.token.principal-claim = preferred_username
quarkus.security.users.file.enabled = false
quarkus.security.users.embedded.enabled = false