File tree Expand file tree Collapse file tree 11 files changed +16
-16
lines changed
03-Calling-an-API/src/Auth
04-Authorization/src/Auth
05-Token-Renewal/src/Auth Expand file tree Collapse file tree 11 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ defaults: &defaults
1212 name : Replace Auth0 test credentials
1313 command : |
1414 echo "export const AUTH_CONFIG = {" >> $AUTH0_CFG
15- echo " clientId : '$AUTH0_TEST_CLIENT_ID'," >> $AUTH0_CFG
15+ echo " clientID : '$AUTH0_TEST_CLIENT_ID'," >> $AUTH0_CFG
1616 echo " domain: '$AUTH0_TEST_DOMAIN'," >> $AUTH0_CFG
1717 echo " callbackUrl: 'http://localhost:3000/callback'," >> $AUTH0_CFG
1818 echo " apiUrl: '$AUTH0_TEST_AUDIENCE'" >> $AUTH0_CFG
1919 echo "}" >> $AUTH0_CFG
20-
20+
2121 - run :
2222 name : Build pull request
2323 command : |
@@ -28,7 +28,7 @@ defaults: &defaults
2828 command : |
2929 sleep 10
3030 docker run --network host --rm appropriate/curl --retry 8 --retry-connrefused -v localhost:3000
31- - run :
31+ - run :
3232 name : Run tests
3333 command : |
3434 docker create --network host --name tester codeception/codeceptjs codeceptjs run-multiple --all --steps --verbose
@@ -48,14 +48,14 @@ defaults: &defaults
4848
4949# Jobs and Workflows
5050version : 2
51- jobs :
51+ jobs :
5252 checkout :
5353 machine : true
5454 steps :
5555 - checkout
5656 - run : git clone https://github.com/auth0-samples/spa-quickstarts-tests scripts
5757 - persist_to_workspace :
58- root : ~/
58+ root : ~/
5959 paths :
6060 - project
6161 - scripts
@@ -115,4 +115,4 @@ workflows:
115115 - 05-token-renewal :
116116 context : Quickstart SPA Test
117117 requires :
118- - checkout
118+ - checkout
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export default class Auth {
99
1010 auth0 = new auth0 . WebAuth ( {
1111 domain : AUTH_CONFIG . domain ,
12- clientID : AUTH_CONFIG . clientId ,
12+ clientID : AUTH_CONFIG . clientID ,
1313 redirectUri : AUTH_CONFIG . callbackUrl ,
1414 responseType : 'token id_token' ,
1515 scope : 'openid'
Original file line number Diff line number Diff line change 11export const AUTH_CONFIG = {
22 domain: '{DOMAIN}',
3- clientId : '{CLIENT_ID}',
3+ clientID : '{CLIENT_ID}',
44 callbackUrl: 'http://localhost:3000/callback'
55}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export default class Auth {
1010
1111 auth0 = new auth0 . WebAuth ( {
1212 domain : AUTH_CONFIG . domain ,
13- clientID : AUTH_CONFIG . clientId ,
13+ clientID : AUTH_CONFIG . clientID ,
1414 redirectUri : AUTH_CONFIG . callbackUrl ,
1515 responseType : 'token id_token' ,
1616 scope : 'openid profile'
Original file line number Diff line number Diff line change 11export const AUTH_CONFIG = {
22 domain: '{DOMAIN}',
3- clientId : '{CLIENT_ID}',
3+ clientID : '{CLIENT_ID}',
44 callbackUrl: 'http://localhost:3000/callback'
55}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export default class Auth {
1010
1111 auth0 = new auth0 . WebAuth ( {
1212 domain : AUTH_CONFIG . domain ,
13- clientID : AUTH_CONFIG . clientId ,
13+ clientID : AUTH_CONFIG . clientID ,
1414 redirectUri : AUTH_CONFIG . callbackUrl ,
1515 audience : AUTH_CONFIG . apiUrl ,
1616 responseType : 'token id_token' ,
Original file line number Diff line number Diff line change 11export const AUTH_CONFIG = {
22 domain: '{DOMAIN}',
3- clientId : '{CLIENT_ID}',
3+ clientID : '{CLIENT_ID}',
44 callbackUrl: 'http://localhost:3000/callback',
55 apiUrl: '{API_IDENTIFIER}'
66}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export default class Auth {
1212
1313 auth0 = new auth0 . WebAuth ( {
1414 domain : AUTH_CONFIG . domain ,
15- clientID : AUTH_CONFIG . clientId ,
15+ clientID : AUTH_CONFIG . clientID ,
1616 redirectUri : AUTH_CONFIG . callbackUrl ,
1717 audience : AUTH_CONFIG . apiUrl ,
1818 responseType : 'token id_token' ,
Original file line number Diff line number Diff line change 11export const AUTH_CONFIG = {
22 domain: '{DOMAIN}',
3- clientId : '{CLIENT_ID}',
3+ clientID : '{CLIENT_ID}',
44 callbackUrl: 'http://localhost:3000/callback',
55 apiUrl: '{API_IDENTIFIER}'
66}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export default class Auth {
1111
1212 auth0 = new auth0 . WebAuth ( {
1313 domain : AUTH_CONFIG . domain ,
14- clientID : AUTH_CONFIG . clientId ,
14+ clientID : AUTH_CONFIG . clientID ,
1515 redirectUri : AUTH_CONFIG . callbackUrl ,
1616 responseType : 'token id_token' ,
1717 scope : 'openid profile'
You can’t perform that action at this time.
0 commit comments