Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cfeac23

Browse files
committed
Merge pull request auth0#33 from Annyv2/patch-6
Update README.md
2 parents ae5dcef + 4bc1ff5 commit cfeac23

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/flask-webapp/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ This is the seed project you need to use if you're going to create a Regular Web
44
#Running the example
55
In order to run the example you need to have `python` and `pip` installed.
66

7-
You also need to set the ClientSecret, ClientId, Domain and CallbackURL for your Auth0 app as environment variables with the following names respectively: AUTH0_CLIENT_SECRET, AUTH0_CLIENT_ID, AUTH0_DOMAIN and AUTH0_CALLBACK_URL.
7+
You also need to set the ClientSecret, ClientId, Domain and CallbackURL for your Auth0 app as environment variables with the following names respectively: `AUTH0_CLIENT_SECRET`, `AUTH0_CLIENT_ID`, `AUTH0_DOMAIN` and `AUTH0_CALLBACK_URL`.
88

99
For that, the .env file should be created already; if not, simply create a file named .env in the directory and set the values like the following, the app will just work:
1010

1111
````bash
1212
# .env file
1313
AUTH0_CLIENT_SECRET=myCoolSecret
1414
AUTH0_CLIENT_ID=myCoolClientId
15-
AUTH0_DOMAIN=samples.auth0.com
16-
AUTH0_CALLBACK_URL=http://localhost:3000/auth/auth0/callback
15+
AUTH0_DOMAIN=example.auth0.com
16+
AUTH0_CALLBACK_URL=myCallbackUrl #For example, http://localhost:3000/callback
1717
````
18-
Once you've set those 4 environment variables, just run `python server.py` and try calling [http://localhost:3000/](http://localhost:3000/), but you may change the port as needed.
18+
Once you've set those 4 environment variables, run `pip install -r requirements.txt` to install the dependencies. Then, just run `python server.py` and try calling [http://localhost:3000/](http://localhost:3000/), but you may change the port as needed.
1919

2020

0 commit comments

Comments
 (0)