Skip to content

Commit

Permalink
use MyAccessId as AAI endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
olanowak committed Aug 6, 2024
1 parent 5f50748 commit ea4f414
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions docker-compose-acdh-develop.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: "2"
services:
marketplace:
build:
build:
context: .
dockerfile: Dockerfile-acdh-ch
args:
args:
- GID=1032
- UID=1032
image: docker.gitlab.gwdg.de/sshoc/sshoc-marketplace-backend/api:latest
Expand All @@ -23,7 +23,7 @@ services:
POSTGRES_PORT: 5432
SOLR_HOST: solr
SOLR_PORT: 8983
aai_base_uri: https://aai.eosc-portal.eu/oidc
aai_base_uri: https://proxy.acc.myaccessid.org/OIDC
egi_id: ${egi_id}
egi_secret: ${egi_secret}
token_secret: ${token_secret}
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-acdh-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ services:
POSTGRES_PORT: 5432
SOLR_HOST: solr-prod
SOLR_PORT: 8983
aai_base_uri: https://aai.eosc-portal.eu/oidc
aai_base_uri: https://proxy.acc.myaccessid.org/OIDC
egi_id: ${egi_id}
egi_secret: ${egi_secret}
token_secret: ${token_secret}
Expand Down
6 changes: 3 additions & 3 deletions docker-compose-acdh-stage.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: "2"
services:
marketplace-stage:
build:
build:
context: .
dockerfile: Dockerfile-acdh-ch
args:
args:
- GID=1057
- UID=1057
image: docker.gitlab.gwdg.de/sshoc/sshoc-marketplace-backend/api-stage:latest
Expand All @@ -23,7 +23,7 @@ services:
POSTGRES_PORT: 5432
SOLR_HOST: solr-stage
SOLR_PORT: 8983
aai_base_uri: https://aai.eosc-portal.eu/oidc
aai_base_uri: https://proxy.acc.myaccessid.org/OIDC
egi_id: ${egi_id}
egi_secret: ${egi_secret}
token_secret: ${token_secret}
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
- solr
environment:
APPLICATION_PROFILE: dev
aai_base_uri: https://aai.eosc-portal.eu/oidc
aai_base_uri: https://proxy.acc.myaccessid.org/OIDC
egi_id: ${egi_id}
egi_secret: ${egi_secret}
token_secret: ${token_secret}
Expand Down
12 changes: 6 additions & 6 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ spring:
- eduperson_scoped_affiliation
- eduperson_entitlement
redirect-uri: "{baseUrl}/login/oauth2/code/{registrationId}"
client-name: EOSC
client-name: MyAccessId
provider:
eosc:
token-uri: ${aai_base_uri:https://aai-dev.egi.eu/oidc}/token
authorization-uri: ${aai_base_uri:https://aai-dev.egi.eu/oidc}/authorize
user-info-uri: ${aai_base_uri:https://aai-dev.egi.eu/oidc}/userinfo
jwk-set-uri: ${aai_base_uri:https://aai-dev.egi.eu/oidc}/jwk
token-uri: ${aai_base_uri:https://proxy.acc.myaccessid.org/OIDC}/token
authorization-uri: ${aai_base_uri:https://proxy.acc.myaccessid.org/OIDC}/authorization
user-info-uri: ${aai_base_uri:https://proxy.acc.myaccessid.org/OIDC}/userinfo
jwk-set-uri: ${aai_base_uri:https://proxy.acc.myaccessid.org/OIDC}/jwk
user-name-attribute: sub

profiles:
Expand Down Expand Up @@ -177,4 +177,4 @@ management:
endpoint:
health:
show-details: when_authorized
roles: 'ADMINISTRATOR'
roles: 'ADMINISTRATOR'

0 comments on commit ea4f414

Please sign in to comment.