|
14 | 14 | window.parent.postMessage({ type: 'DICE_VERIFICATION_START' }, 'https://www.{{DOMAIN}}')
|
15 | 15 | window.parent.postMessage({ type: 'DICE_VERIFICATION_START' }, 'https://community-app.{{DOMAIN}}')
|
16 | 16 | window.parent.postMessage({ type: 'DICE_VERIFICATION_START' }, 'https://{{CA_SUB_1}}.{{DOMAIN}}')
|
| 17 | + window.parent.postMessage({ type: 'DICE_VERIFICATION_START' }, 'https://{{CA_SUB_2}}.{{DOMAIN}}') |
17 | 18 | const userManager = new Oidc.UserManager({
|
18 | 19 | response_type: "code",
|
19 | 20 | response_mode: "query",
|
|
28 | 29 | window.parent.postMessage({ type: 'DICE_VERIFICATION', success: true, user }, 'https://www.{{DOMAIN}}')
|
29 | 30 | window.parent.postMessage({ type: 'DICE_VERIFICATION', success: true, user }, 'https://community-app.{{DOMAIN}}')
|
30 | 31 | window.parent.postMessage({ type: 'DICE_VERIFICATION', success: true, user }, 'https://{{CA_SUB_1}}.{{DOMAIN}}')
|
| 32 | + window.parent.postMessage({ type: 'DICE_VERIFICATION', success: true, user }, 'https://{{CA_SUB_2}}.{{DOMAIN}}') |
31 | 33 | },
|
32 | 34 | (error) => {
|
33 | 35 | console.log(error)
|
34 | 36 | window.parent.postMessage({ type: 'DICE_VERIFICATION', success: false }, 'https://www.{{DOMAIN}}')
|
35 | 37 | window.parent.postMessage({ type: 'DICE_VERIFICATION', success: false }, 'https://community-app.{{DOMAIN}}')
|
36 | 38 | window.parent.postMessage({ type: 'DICE_VERIFICATION', success: false }, 'https://{{CA_SUB_1}}.{{DOMAIN}}')
|
| 39 | + window.parent.postMessage({ type: 'DICE_VERIFICATION', success: false }, 'https://{{CA_SUB_2}}.{{DOMAIN}}') |
37 | 40 | }
|
38 | 41 | );
|
39 | 42 | </script>
|
|
0 commit comments