Skip to content

Commit

Permalink
Replace introspect url with JWK
Browse files Browse the repository at this point in the history
Signed-off-by: at670475 <[email protected]>
  • Loading branch information
taban03 committed Oct 17, 2023
1 parent bde75f5 commit e7a92be
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion playbooks/roles/configfmid/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ zowe_apiml_security_oidc_enabled: false
zowe_apiml_security_oidc_client_id:
zowe_apiml_security_oidc_client_secret:
zowe_apiml_security_oidc_registry:
zowe_apiml_security_oidc_introspect_url:
zowe_apiml_security_oidc_jwk_url:
# explorer APIs/plugins ports
zowe_jobs_api_port: 7558
zowe_mvs_api_port: 7559
Expand Down
4 changes: 2 additions & 2 deletions playbooks/roles/configfmid/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
- zowe_apiml_security_oidc_client_id
- zowe_apiml_security_oidc_client_secret
- zowe_apiml_security_oidc_registry
- zowe_apiml_security_oidc_introspect_url
- zowe_apiml_security_oidc_jwk_url
- zowe_jobs_api_port
- zowe_mvs_api_port
- zowe_jobs_explorer_port
Expand Down Expand Up @@ -299,7 +299,7 @@
"components.gateway.apiml.security.oidc.clientId": "{{ zowe_apiml_security_oidc_client_id|string }}"
"components.gateway.apiml.security.oidc.clientSecret": "{{ zowe_apiml_security_oidc_client_secret|string }}"
"components.gateway.apiml.security.oidc.registry": "{{ zowe_apiml_security_oidc_registry|string }}"
"components.gateway.apiml.security.oidc.introspectUrl": "{{ zowe_apiml_security_oidc_introspect_url|string }}"
"components.gateway.apiml.security.oidc.jwkUrl": "{{ zowe_apiml_security_oidc_jwk_url|string }}"
# desktop customizations
"zowe.environments.ZWED_SSH_PORT": "{{ zowe_zlux_terminal_ssh_port }}"
"zowe.environments.ZWED_TN3270_PORT": "{{ zowe_zlux_terminal_telnet_port }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/configure/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ zowe_apiml_security_oidc_enabled: false
zowe_apiml_security_oidc_client_id:
zowe_apiml_security_oidc_client_secret:
zowe_apiml_security_oidc_registry:
zowe_apiml_security_oidc_introspect_url:
zowe_apiml_security_oidc_jwk_url:
# explorer APIs/plugins ports
zowe_jobs_api_port: 7558
zowe_mvs_api_port: 7559
Expand Down
4 changes: 2 additions & 2 deletions playbooks/roles/configure/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
- zowe_apiml_security_oidc_client_id
- zowe_apiml_security_oidc_client_secret
- zowe_apiml_security_oidc_registry
- zowe_apiml_security_oidc_introspect_url
- zowe_apiml_security_oidc_jwk_url
- zowe_jobs_api_port
- zowe_mvs_api_port
- zowe_jobs_explorer_port
Expand Down Expand Up @@ -301,7 +301,7 @@
"components.gateway.apiml.security.oidc.clientId": "{{ zowe_apiml_security_oidc_client_id|string }}"
"components.gateway.apiml.security.oidc.clientSecret": "{{ zowe_apiml_security_oidc_client_secret|string }}"
"components.gateway.apiml.security.oidc.registry": "{{ zowe_apiml_security_oidc_registry|string }}"
"components.gateway.apiml.security.oidc.introspectUrl": "{{ zowe_apiml_security_oidc_introspect_url|string }}"
"components.gateway.apiml.security.oidc.jwkUrl": "{{ zowe_apiml_security_oidc_jwk_url|string }}"
# desktop customizations
"zowe.environments.ZWED_SSH_PORT": "{{ zowe_zlux_terminal_ssh_port }}"
"zowe.environments.ZWED_TN3270_PORT": "{{ zowe_zlux_terminal_telnet_port }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/custom_for_test/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ zowe_apiml_security_oidc_enabled: false
zowe_apiml_security_oidc_client_id:
zowe_apiml_security_oidc_client_secret:
zowe_apiml_security_oidc_registry:
zowe_apiml_security_oidc_introspect_url:
zowe_apiml_security_oidc_jwk_url:
zowe_apiml_security_zosmf_applid: IZUDFLT
zowe_apiml_security_auth_provider: zosmf
zowe_apiml_security_zosmf_jwt_autoconfiguration_mode: auto
Expand Down
2 changes: 1 addition & 1 deletion tests/installation/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const APIML_OIDC_VARS = {
'zowe_apiml_security_oidc_client_id': process.env['OKTA_CLIENT_ID'] || 'dummy_id_from_constants_ts',
'zowe_apiml_security_oidc_client_secret': process.env['OKTA_CLIENT_SECRET'] || 'dummy_secret_from_constants_ts',
'zowe_apiml_security_oidc_registry': process.env['OIDC_REGISTRY'] || 'dummy_registry_from_constants_ts',
'zowe_apiml_security_oidc_introspect_url': `https://${process.env['OKTA_HOSTNAME']}/oauth2/default/v1/introspect`,
'zowe_apiml_security_oidc_jwk_url': `https://${process.env['OKTA_HOSTNAME']}/oauth2/default/v1/keys`,
};

// debug(`process.env >>>>>>>>>>>>>>>>>>>>>>>>>>\n${JSON.stringify(process.env)}\n<<<<<<<<<<<<<<<<<<<<<<<`);

0 comments on commit e7a92be

Please sign in to comment.