Added oidc connection
This commit is contained in:
@@ -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"
|
||||
```
|
||||
Reference in New Issue
Block a user