Skip to content

Commit

Permalink
Use oidc for authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
matsbov committed Apr 2, 2024
1 parent b8931ee commit 82f1c2f
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions sbdi/data/config/image-service-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ server:

security:
cas:
enabled: true
enabled: false
appServerName: "http://localhost:8080"
bypass: false
disableCAS: false
Expand All @@ -18,10 +18,10 @@ security:
loginUrl: https://auth.biodiversitydata.se/cas/login
logoutUrl: https://auth.biodiversitydata.se/cas/logout
oidc:
enabled: false
clientId:
secret:
discoveryUri:
enabled: true
clientId: replace_with_real_value
secret: replace_with_real_value
discoveryUri: https://auth.biodiversitydata.se/cas/oidc/.well-known
jwt:
enabled: false
discoveryUri:
Expand Down Expand Up @@ -118,3 +118,7 @@ openapi:
contact:
name:
email:
components:
security:
oauth2:
baseUrl: https://auth.biodiversitydata.se/cas/oidc

0 comments on commit 82f1c2f

Please sign in to comment.