From 13e7da886ea95f053f48ff323edbccafad23faba Mon Sep 17 00:00:00 2001 From: Giancarlo Otarola Date: Tue, 1 Dec 2020 15:33:24 -0300 Subject: [PATCH] rename env var --- .env.example | 2 +- .github/workflows/release.yml | 2 +- src/config.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index 4fd1f00a..67a57480 100644 --- a/.env.example +++ b/.env.example @@ -9,7 +9,7 @@ REACT_APP_TORUS_NETWORK= REACT_APP_TORUS_GOOGLE_VERIFIER= REACT_APP_TORUS_TWITTER_VERIFIER= REACT_APP_TORUS_TWITTER_CLIENT_ID= -REACT_APP_TORUS_TWITTER_AUTH_DOMAIN= +REACT_APP_TORUS_AUTH_DOMAIN= REACT_APP_TORUS_PROXY_CONTRACT= REACT_APP_TORUS_PROVIDERS_REDIRECT_URL= REACT_APP_TORUS_GOOGLE_CLIENT_ID= diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8c50c0f0..786b543a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,13 +12,13 @@ jobs: TERMINAL_NPM_TOKEN: ${{secrets.TERMINAL_NPM_TOKEN}} SPACE_SERVICES_URL: ${{secrets.SPACE_SERVICES_URL}} REACT_APP_TORUS_NETWORK: ${{secrets.REACT_APP_TORUS_NETWORK}} + REACT_APP_TORUS_AUTH_DOMAIN: ${{secrets.REACT_APP_TORUS_AUTH_DOMAIN}} REACT_APP_TORUS_PROXY_CONTRACT: ${{secrets.REACT_APP_TORUS_PROXY_CONTRACT}} REACT_APP_TORUS_GOOGLE_VERIFIER: ${{secrets.REACT_APP_TORUS_GOOGLE_VERIFIER}} REACT_APP_WS_AUTH_CHALLENGE_URL: ${{secrets.REACT_APP_WS_AUTH_CHALLENGE_URL}} REACT_APP_TORUS_TWITTER_VERIFIER: ${{secrets.REACT_APP_TORUS_TWITTER_VERIFIER}} REACT_APP_TORUS_GOOGLE_CLIENT_ID: ${{secrets.REACT_APP_TORUS_GOOGLE_CLIENT_ID}} REACT_APP_TORUS_TWITTER_CLIENT_ID: ${{secrets.REACT_APP_TORUS_TWITTER_CLIENT_ID}} - REACT_APP_TORUS_TWITTER_AUTH_DOMAIN: ${{secrets.REACT_APP_TORUS_TWITTER_AUTH_DOMAIN}} REACT_APP_TORUS_PROVIDERS_REDIRECT_URL: ${{secrets.REACT_APP_TORUS_PROVIDERS_REDIRECT_URL}} strategy: fail-fast: false diff --git a/src/config.js b/src/config.js index a2927c3c..aa8106e0 100644 --- a/src/config.js +++ b/src/config.js @@ -7,7 +7,7 @@ const { REACT_APP_TORUS_GOOGLE_VERIFIER, REACT_APP_TORUS_TWITTER_VERIFIER, REACT_APP_TORUS_TWITTER_CLIENT_ID, - REACT_APP_TORUS_TWITTER_AUTH_DOMAIN, + REACT_APP_TORUS_AUTH_DOMAIN, REACT_APP_TORUS_PROXY_CONTRACT, REACT_APP_TORUS_PROVIDERS_REDIRECT_URL, REACT_APP_WS_AUTH_CHALLENGE_URL, @@ -41,7 +41,7 @@ export default { verifier: REACT_APP_TORUS_TWITTER_VERIFIER, clientId: REACT_APP_TORUS_TWITTER_CLIENT_ID, jwtParams: { - domain: REACT_APP_TORUS_TWITTER_AUTH_DOMAIN, + domain: REACT_APP_TORUS_AUTH_DOMAIN, }, }, },