From bca12a0764b82b389454daa56dc4a38b31b7d892 Mon Sep 17 00:00:00 2001 From: h_sharifi Date: Wed, 14 Sep 2022 11:00:25 +0430 Subject: [PATCH] #BAEL-5443: add scope to properties --- .../src/main/resources/application.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-modules/spring-boot-keycloak/src/main/resources/application.properties b/spring-boot-modules/spring-boot-keycloak/src/main/resources/application.properties index 9d07dbc2e1..2c3e6abdeb 100644 --- a/spring-boot-modules/spring-boot-keycloak/src/main/resources/application.properties +++ b/spring-boot-modules/spring-boot-keycloak/src/main/resources/application.properties @@ -10,5 +10,6 @@ keycloak.principal-attribute=preferred_username spring.security.oauth2.client.registration.keycloak.client-id=login-app spring.security.oauth2.client.registration.keycloak.authorization-grant-type=authorization_code +spring.security.oauth2.client.registration.keycloak.scope=openid spring.security.oauth2.client.provider.keycloak.issuer-uri=http://keycloak.dev.modernisc.com:8180/auth/realms/SpringBootKeycloak spring.security.oauth2.client.provider.keycloak.user-name-attribute=preferred_username \ No newline at end of file