Skip to content

Commit

Permalink
config explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
GuyAvraham committed Dec 3, 2020
1 parent 5238199 commit 03b19ed
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Config/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@ const ENV = {
dev: {
apiUrl: "localhost",
auth0: {
auth0Domain: "",
auth0Domain: 'dev-XXX.auth0.com',
passwordlessClient: {
client_id: "",
scope: "openid profile read:current_user update:current_user_identities",
audience: `https://XXXX.auth0.com/api/v2/`
client_id: 'REPLACE',
clientId: 'REPLACE',
allowedConnections: ['sms'],
scope: 'openid profile read:current_user update:current_user_identities',
// response_type:
// id_token will return a JWT token with the profile as described on the scope
// token will return access_token to use with further api calls
response_type: 'token id_token',
nonce: 'nonce' // ideally, this will be a random value
},
}
},
Expand Down

0 comments on commit 03b19ed

Please sign in to comment.