Skip to content

Commit

Permalink
invite user in myconext
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Sep 13, 2024
1 parent 50971bf commit 292e2b9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions environments/template/secrets/skeleton.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ oidcng_api_metadata_push_password: secret
oidcng_api_tokens_profile_password: secret
oidcng_api_tokens_eduid_password: secret
myconext_api_attribute_manipulation_password: "secret"
myconext_api_invite_password: "secret"
myconext_oidcng_rs_client_secret: secret
myconext_api_attribute_aggregation_password: "secret"
myconext_api_studielink_password: "secret"
Expand Down
1 change: 1 addition & 0 deletions environments/vm/secrets/vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ oidcng_api_metadata_push_password: secret
oidcng_api_tokens_profile_password: secret
oidcng_api_tokens_eduid_password: secret
myconext_api_attribute_manipulation_password: "secret"
myconext_api_invite_password: "secret"
myconext_oidcng_rs_client_secret: secret
myconext_api_attribute_aggregation_password: "secret"
myconext_api_studielink_password: "secret"
Expand Down
5 changes: 5 additions & 0 deletions roles/invite/templates/serverapplication.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ cron:
metadata-resolver-fixed-rate-milliseconds: 86_400_000
metadata-resolver-url: "https://metadata.{{ base_domain }}/idps-metadata.xml"

myconext:
uri: "https://login.{{ myconext_base_domain }}/myconext/api/invite/provision-eduid"
username: invite
password: "{{ myconext_api_invite_password }}"

oidcng:
discovery-url: "https://connect.{{ base_domain }}/oidc/.well-known/openid-configuration"
introspect-url: "https://connect.{{ base_domain }}/oidc/introspect"
Expand Down
5 changes: 5 additions & 0 deletions roles/myconext/templates/application.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ external-api-configuration:
- remote-creation
institutionGUID: ec9d6d75-0d11-e511-80d0-005056956c1a
schac_home: studielink.nl
-
username: invite
password: "{{ myconext_api_invite_password }}"
scopes:
- invite

oidc-token-api:
token-url: https://connect.{{ base_domain }}/tokens
Expand Down

0 comments on commit 292e2b9

Please sign in to comment.