From 984a77bf1e3bff426c86722630e5bfbc1c332895 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sun, 2 Feb 2020 15:41:51 +0100 Subject: Set principal claim to preferred_username. This clearly defines what the principal name is expected to be passed as. Change-Id: I4e56ee1dc79ac2c7ef8af0e382065e84e2a05fe0 --- src/main/resources/application.properties | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/resources/application.properties') 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 -- cgit v1.2.3