|
13 | 13 | crossorigin="anonymous" referrerpolicy="no-referrer"></script> |
14 | 14 | <script> |
15 | 15 | const manager = new Oidc.UserManager({ |
16 | | - authority: 'https://tc-vcauth-uat.diceid.com', |
| 16 | + authority: 'https://{{DICE_AUTH}}.diceid.com', |
17 | 17 | client_id: 'topcoder', |
18 | 18 | response_type: 'code', |
19 | 19 | scope: 'openid profile vc_authn', |
20 | | - redirect_uri: 'https://accounts-auth0.topcoder-dev.com/dice-verify-callback.html', |
| 20 | + redirect_uri: 'https://accounts-auth0.{{DOMAIN}}/dice-verify-callback.html', |
21 | 21 | response_mode: 'query', |
22 | 22 | loadUserInfo: false, |
23 | 23 | }); |
24 | 24 | manager.settings.metadata = { |
25 | | - issuer: 'https://tc-vcauth-uat.diceid.com', |
26 | | - jwks_uri: 'https://tc-vcauth-uat.diceid.com/.well-known/openid-configuration/jwks', |
27 | | - authorization_endpoint: 'https://tc-vcauth-uat.diceid.com/vc/connect/authorize?pres_req_conf_id=Topcoder_2FA_Validate_Cred', |
28 | | - token_endpoint: 'https://tc-vcauth-uat.diceid.com/vc/connect/token', |
29 | | - userinfo_endpoint: 'https://tc-vcauth-uat.diceid.com/connect/userinfo', |
30 | | - check_session_iframe: 'https://tc-vcauth-uat.diceid.com/vc/connect/checksession', |
31 | | - revocation_endpoint: 'https://tc-vcauth-uat.diceid.com/vc/connect/revocation', |
| 25 | + issuer: 'https://{{DICE_AUTH}}.diceid.com', |
| 26 | + jwks_uri: 'https://{{DICE_AUTH}}.diceid.com/.well-known/openid-configuration/jwks', |
| 27 | + authorization_endpoint: 'https://{{DICE_AUTH}}.diceid.com/vc/connect/authorize?pres_req_conf_id=Topcoder_2FA_Validate_Cred', |
| 28 | + token_endpoint: 'https://{{DICE_AUTH}}.diceid.com/vc/connect/token', |
| 29 | + userinfo_endpoint: 'https://{{DICE_AUTH}}.diceid.com/connect/userinfo', |
| 30 | + check_session_iframe: 'https://{{DICE_AUTH}}.diceid.com/vc/connect/checksession', |
| 31 | + revocation_endpoint: 'https://{{DICE_AUTH}}.diceid.com/vc/connect/revocation', |
32 | 32 | }; |
33 | 33 | manager.signinRedirect(); |
34 | 34 | </script> |
|
0 commit comments