Skip to content

Commit e4515aa

Browse files
committed
update dice verify callback
1 parent c8fd4b5 commit e4515aa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

web-assets/static-pages/dice-verify-callback.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
window.parent.postMessage({ type: 'DICE_VERIFICATION_START' }, 'https://www.{{DOMAIN}}')
1515
window.parent.postMessage({ type: 'DICE_VERIFICATION_START' }, 'https://community-app.{{DOMAIN}}')
1616
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}}')
1718
const userManager = new Oidc.UserManager({
1819
response_type: "code",
1920
response_mode: "query",
@@ -28,12 +29,14 @@
2829
window.parent.postMessage({ type: 'DICE_VERIFICATION', success: true, user }, 'https://www.{{DOMAIN}}')
2930
window.parent.postMessage({ type: 'DICE_VERIFICATION', success: true, user }, 'https://community-app.{{DOMAIN}}')
3031
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}}')
3133
},
3234
(error) => {
3335
console.log(error)
3436
window.parent.postMessage({ type: 'DICE_VERIFICATION', success: false }, 'https://www.{{DOMAIN}}')
3537
window.parent.postMessage({ type: 'DICE_VERIFICATION', success: false }, 'https://community-app.{{DOMAIN}}')
3638
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}}')
3740
}
3841
);
3942
</script>

0 commit comments

Comments
 (0)