File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const app = express();
1010if (
1111 ! authConfig . domain ||
1212 ! authConfig . authorizationParams . audience ||
13- authConfig . authorizationParams . audience === "YOUR_API_IDENTIFIER"
13+ [ "YOUR_API_IDENTIFIER" , "{API_IDENTIFIER}" ] . includes ( authConfig . authorizationParams . audience )
1414) {
1515 console . log (
1616 "Exiting: Please make sure that auth_config.json is in place and populated with valid domain and audience values"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const app = express();
1010if (
1111 ! authConfig . domain ||
1212 ! authConfig . authorizationParams . audience ||
13- authConfig . authorizationParams . audience === "YOUR_API_IDENTIFIER"
13+ [ "YOUR_API_IDENTIFIER" , "{API_IDENTIFIER}" ] . includes ( authConfig . authorizationParams . audience )
1414) {
1515 console . log (
1616 "Exiting: Please make sure that auth_config.json is in place and populated with valid domain and audience values"
You can’t perform that action at this time.
0 commit comments