File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,27 @@ See Guild https://github.com/lorenwest/node-config/wiki/Configuration-Files
18
18
| ` PORT ` | The port to listen|
19
19
| ` GOOGLE_API_KEY ` | The google api key see (https://developers.google.com/maps/documentation/javascript/get-api-key#key) |
20
20
| ` API_BASE_URL ` | The base URL for Drone API |
21
-
21
+ | ` REACT_APP_AUTH0_CLIENT_ID ` | The auth0 client id |
22
+ | ` REACT_APP_AUTH0_CLIENT_DOMAIN ` | The auth0 client domain |
23
+
24
+ ### Auth0 setup
25
+ - Create an account on auth0.
26
+ - Click on clients in left side menu, it will redirect you to client page. Click on CREATE CLIENT button
27
+ to create a new client.
28
+ - Copy the client id and client domain and export them as environment variables.
29
+ - Add ` http://localhost:3000 ` as Allowed callback url's in client settings.
30
+
31
+ ### Add social connections
32
+
33
+ ### Facebook social connection
34
+ - To add facebook social connection to auth0, you have to create a facebook app.
35
+ Go to facebook [ developers] ( https://developers.facebook.com/apps ) and create a new app.
36
+ - Copy the app secret and app id to auth0 social connections facebook tab.
37
+ - You have to setup the oauth2 callback in app oauth settings.
38
+ - For more information visit auth0 [ docs] ( https://auth0.com/docs/connections/social/facebook )
39
+
40
+ ### Google social connection
41
+ - For more information on how to connect google oauth2 client, visit official [ docs] ( https://auth0.com/docs/connections/social/google )
22
42
23
43
## Install dependencies
24
44
` npm i `
You can’t perform that action at this time.
0 commit comments