#BAEL-5443: add spring.security.oauth2.client properties
server.port=8081
#Keycloak Configuration
-keycloak.auth-server-url=http://localhost:8180/auth
+keycloak.auth-server-url=http://keycloak.dev.modernisc.com:8180/auth
keycloak.realm=SpringBootKeycloak
keycloak.resource=login-app
keycloak.public-client=true
-#keycloak.security-constraints[0].authRoles[0]=user
-#keycloak.security-constraints[0].securityCollections[0].patterns[0]=/customers/*
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.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
