Skip to content

Commit 52cea58

Browse files
Alevalestevehobbsdev
authored andcommitted
fix(typo): Make all of the clientID references consistent (#120)
1 parent 3b3f4e5 commit 52cea58

File tree

11 files changed

+16
-16
lines changed

11 files changed

+16
-16
lines changed

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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
5050
version: 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

01-Login/src/Auth/Auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const AUTH_CONFIG = {
22
domain: '{DOMAIN}',
3-
clientId: '{CLIENT_ID}',
3+
clientID: '{CLIENT_ID}',
44
callbackUrl: 'http://localhost:3000/callback'
55
}

02-User-Profile/src/Auth/Auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const AUTH_CONFIG = {
22
domain: '{DOMAIN}',
3-
clientId: '{CLIENT_ID}',
3+
clientID: '{CLIENT_ID}',
44
callbackUrl: 'http://localhost:3000/callback'
55
}

03-Calling-an-API/src/Auth/Auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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',
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export 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
}

04-Authorization/src/Auth/Auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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',
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export 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
}

05-Token-Renewal/src/Auth/Auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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'

0 commit comments

Comments
 (0)