Added oidc connection

This commit is contained in:
Mysaa Java
2026-07-13 15:59:56 +02:00
parent 56070c240f
commit 5131281613
20 changed files with 327 additions and 221 deletions
+22
View File
@@ -11,3 +11,25 @@ And finaly we run `./gradlew bootRun`
The compose file is enough.
`launcher.sh` checks that the migrations are applied and then runs the spring boot server on port 8080
## OIDC
In order to connect to oidc, you need to setup the following options, if `bcom` is your provider name:
```Yaml
spring:
security:
oauth2:
client:
activate: true
registration:
bcom:
provider: bcom
client-id: misael
client-secret: "myclientsecret"
authorization-grant-type: authorization_code
scope: openid,roles
provider:
bcom:
issuer-uri: "https://auth.example.com/realms/bcom"
```