-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add correct signatures for bnb & polygon
- Loading branch information
1 parent
29daf9e
commit 31df904
Showing
3 changed files
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,5 +52,5 @@ VUE_APP_LOGIN_DOMAIN=https://torus.au.auth0.com | |
VUE_APP_PASSWORDLESS_DOMAIN=https://auth.openlogin.com | ||
VUE_APP_SENTRY_DSN=https://[email protected]/5590576 | ||
VUE_APP_DEVELOPER_DASHBOARD_URL=https://api.developer.tor.us | ||
# this is for app.tor.us | ||
VUE_APP_OPENLOGIN_ORIGIN_SIGNATURE=MEUCIQDFdkBIGWMCQzmclVVWSrUiropSXKmh9OudXiOhp-jZfwIgdCCO2LM3xE5XQPVQA4M4d_GNwYU-h87ieA3cfhZ6-Yo | ||
# this is for bnb.tor.us | ||
VUE_APP_OPENLOGIN_ORIGIN_SIGNATURE=MEQCIB9wN5FYV91zbJWssKw-T707Iz-k2qigQ8OB6tt0N_IGAiAJ6aoQZ2oM3RBJ6G1bFeU8zPv54cv_LBYzOVtXZj6G3w |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,5 +52,5 @@ VUE_APP_LOGIN_DOMAIN=https://torus.au.auth0.com | |
VUE_APP_PASSWORDLESS_DOMAIN=https://auth.openlogin.com | ||
VUE_APP_SENTRY_DSN=https://[email protected]/5590576 | ||
VUE_APP_DEVELOPER_DASHBOARD_URL=https://api.developer.tor.us | ||
# this is for app.tor.us | ||
VUE_APP_OPENLOGIN_ORIGIN_SIGNATURE=MEUCIQDFdkBIGWMCQzmclVVWSrUiropSXKmh9OudXiOhp-jZfwIgdCCO2LM3xE5XQPVQA4M4d_GNwYU-h87ieA3cfhZ6-Yo | ||
# this is for polygon.tor.us | ||
VUE_APP_OPENLOGIN_ORIGIN_SIGNATURE=MEQCIHmKCljC6Ncxe-TyhKHWxTUI7eFj3kjUEqgu40aLZkS0AiAki72DNFmj2WD_itl-5LZ_wYzK1ZS_B7o5qzHzSnzI5w |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const { whitelistUrl } = require('@toruslabs/openlogin') | ||
|
||
const clientId = 'BCY9aYsh8iGshQuzNjBbONYE-tKD0JM389l87IiMOVeOU1TBmRaZphKOyphkUpo41fuSMnO6QRlloxCV-3nt8dU' | ||
const appKey = '' | ||
const origin = 'https://bnb.tor.us' | ||
|
||
async function whitelist() { | ||
const res = await whitelistUrl(clientId, appKey, origin) | ||
// eslint-disable-next-line no-console | ||
console.log(res) | ||
} | ||
|
||
// eslint-disable-next-line unicorn/prefer-top-level-await | ||
whitelist() |