Skip to content

Commit

Permalink
More OIDC related variables (#626)
Browse files Browse the repository at this point in the history
  • Loading branch information
vjrj authored Oct 10, 2022
1 parent fae41b2 commit b4fb745
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ citation.link.template = {{ citation_link_template | default('For more informati
suitableFor = {{ collection_suitable_for | default('[{"spListNational":"Species list national"}, {"spListState": "Species list state"}, {"spListGreaterThan1000": "Species list >1000km radius"}, {"spList100to1000": "Species list 100-1000km radius"}, {"spList10to100":"Species list 10k to 100km radius"}, {"spListLessThan10":"Species list <10km radius"}, {"speciesDistribution":"Defining a species distribution"}, {"quantifyAbundance":"Quantifying abundance at a point in time"}, {"quantifyChange": "Quantifying change over time"}, {"other":"Other"}]')}}

# oidc related
security.cas.enabled={{ collectory_cas_enabled | default(true) }}
security.oidc.enabled={{ collectory_oidc_enabled | default(false) }}
security.cas.enabled={{ security_cas_enabled | default(true) }}
security.oidc.enabled={{ security_oidc_enabled | default(false) }}
security.oidc.clientId={{ clientId | default('') }}
security.oidc.secret={{ secret | default('') }}
security.oidc.discoveryUri={{ discoveryUri | default('') }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ skin.orgSupportEmail={{ orgSupportEmail | default('[email protected]') }}
privacyPolicy={{ privacy_policy_url | default('https://www.ala.org.au/about/terms-of-use/privacy-policy/') }}

#oidc related
+security.cas.enabled={{ security_cas_enabled | default(true) }}
+security.oidc.enabled={{ security_oidc_enabled | default(false) }}
security.oidc.clientId={{ clientId | default('') }}
security.oidc.secret={{ secret | default('') }}
security.oidc.discoveryUri={{ discoveryUri | default('') }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ skin.orgNameShort = {{ orgNameShort | default('ALA') }}
bieService.baseURL={{ bie_service_base_url }}
bie.download=/data/bie-staging/species-list
bie.nameIndexLocation={{ name_index_dir | default('/data/lucene/namematching') }}
namematching.serviceURL={{ name_matching_service_url | default('https://namematching-ws.ala.org.au')}}
namematching.serviceURL={{ namematching_service_url | default(name_matching_service_url | default('https://namematching-ws.ala.org.au'))}}
logger.baseURL={{ (logger_service_url | default(logger_webservice_url)) | default('https://logger.ala.org.au/service')}}
logger.baseUrl={{ (logger_service_url | default(logger_webservice_url)) | default('https://logger.ala.org.au/service')}}

Expand Down Expand Up @@ -87,6 +87,8 @@ spatial.baseURL={{ spatial_base_url | default('https://spatial.ala.org.au')}}
iconicSpecies.uid={{ iconic_species_uid | default('dr781')}}

#oidc related
security.cas.enabled={{ security_cas_enabled | default(true) }}
security.oidc.enabled={{ security_oidc_enabled | default(false) }}
security.oidc.clientId={{ clientId | default('') }}
security.oidc.secret={{ secret | default('') }}
security.oidc.discoveryUri={{ discoveryUri | default('') }}
Expand All @@ -97,3 +99,9 @@ webservice.jwt_scopes={{ webservice_jwt_scopes | default('') }}

userDetails.url={{ userdetails_url | default('https://auth.ala.org.au/userdetails/') }}

openapi.components.security.oauth2.authorizationUrl={{ auth_base_url }}/cas/oidc/authorize
openapi.components.security.oauth2.baseUrl={{ auth_base_url }}/cas/oidc
openapi.components.security.oauth2.refreshUrl={{ auth_base_url }}/cas/oidc/refresh
openapi.components.security.oauth2.tokenUrl={{ auth_base_url }}/cas/oidc/token
openapi.terms={{ terms_url | default('https://www.ala.org.au/terms-of-use/') }}
openapi.contact.email={{ orgSupportEmail | default('[email protected]') }}

0 comments on commit b4fb745

Please sign in to comment.