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 0d22ad7 commit 01012c6
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions sbdi/data/config/sds-config.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,14 @@ lists.tool.url=https://lists.biodiversitydata.se
# Other options
sdsFAQ.url=https://docs.biodiversitydata.se/sbdi-data/sensitive-species/
sds.spatial.layers=cl10037
sds.flag.rules=
#PBC7,PBC8,PBC9
sds.flag.rules=PBC7,PBC8,PBC9

#oidc related
security.cas.enabled=true
security.oidc.enabled=false
#security.oidc.clientId=
#security.oidc.secret=
#security.oidc.discoveryUri=
#security.oidc.discovery-uri=
security.cas.enabled=false
security.oidc.enabled=true
security.oidc.clientId=replace_with_real_value
security.oidc.secret=replace_with_real_value
security.oidc.discoveryUri=https://auth.biodiversitydata.se/cas/oidc/.well-known
security.jwt.enabled=false
#security.jwt.discoveryUri=
#security.jwt.clientId=
Expand All @@ -69,3 +67,4 @@ openapi.contact.email=
openapi.license.name=Mozilla Public License 1.1
openapi.license.url=https://www.mozilla.org/en-US/MPL/1.1/
openapi.license.version='@info.app.version@'
openapi.components.security.oauth2.baseUrl=https://auth.biodiversitydata.se/cas/oidc

0 comments on commit 01012c6

Please sign in to comment.