Skip to content

Commit 13cb95e

Browse files
committed
update: add envs for test servers
1 parent aea1b0a commit 13cb95e

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/auth-react-test.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ jobs:
7979
source venv/bin/activate
8080
export PYTHONPATH="${PYTHONPATH}:$(pwd)"
8181
cd tests/auth-react/django3x
82+
83+
set -a
84+
source auth-react.env
85+
set +a
86+
8287
uvicorn mysite.asgi:application --port 8083 &
8388
8489
- name: Start Server (fastapi)
@@ -88,6 +93,11 @@ jobs:
8893
source venv/bin/activate
8994
export PYTHONPATH="${PYTHONPATH}:$(pwd)"
9095
cd tests/auth-react/fastapi-server
96+
97+
set -a
98+
source auth-react.env
99+
set +a
100+
91101
uvicorn app:app --host 0.0.0.0 --port 8083 &
92102
93103
- name: Start Server (flask)
@@ -97,6 +107,11 @@ jobs:
97107
source venv/bin/activate
98108
export PYTHONPATH="${PYTHONPATH}:$(pwd)"
99109
cd tests/auth-react/flask-server
110+
111+
set -a
112+
source auth-react.env
113+
set +a
114+
100115
python3 app.py --port 8083 &
101116
102117
- uses: supertokens/auth-react-testing-action@main

tests/auth-react/auth-react.env

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Github
2+
GITHUB_CLIENT_ID=3252a5c90b03cf443809
3+
GITHUB_CLIENT_SECRET=52d734435c33ba639e4c96dc0637b1732034f44b
4+
# Google
5+
GOOGLE_CLIENT_ID=32344485696-ghkrbkgc6e3ar39nvmmbuvgn0g71923s.apps.googleusercontent.com
6+
GOOGLE_CLIENT_SECRET=hK_o4jHsglS_qdCU6qGgoMz2
7+
# Facebook
8+
FACEBOOK_CLIENT_ID=1149041618882342
9+
FACEBOOK_CLIENT_SECRET=d6bb1171262bbe9095053145de07cd32
10+
# Auth0
11+
AUTH0_CLIENT_ID=hlhUyF1OvpCYqODkkjdeNAuDdVdDNkIm
12+
AUTH0_CLIENT_SECRET=CBNLgo3j2G-RuZWowNV5x9rPNio1O44y4sEl_jZSOWIQ1Pad_4hN-qD8TWs405pa
13+
AUTH0_DOMAIN=dev-3myi6b3e.us.auth0.com

0 commit comments

Comments
 (0)