File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ import yargs from "yargs";
9
9
import { isEqual } from "lodash" ;
10
10
11
11
const METADATA_TYPESCRIPT_LOCATION = "src/authority/AuthorityMetadata.ts" ;
12
- const AUTHORITY_PLACHOLDER = "{AUTHORITY}" ;
12
+ const AUTHORITY_PLACEHOLDER = "{AUTHORITY}" ;
13
13
const METADATA_SOURCES = {
14
- endpointMetadata : `${ AUTHORITY_PLACHOLDER } v2.0/.well-known/openid-configuration` ,
15
- instanceDiscoveryMetadata : `https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=${ AUTHORITY_PLACHOLDER } oauth2/v2.0/authorize` ,
14
+ endpointMetadata : `${ AUTHORITY_PLACEHOLDER } v2.0/.well-known/openid-configuration` ,
15
+ instanceDiscoveryMetadata : `https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=${ AUTHORITY_PLACEHOLDER } oauth2/v2.0/authorize` ,
16
16
} ;
17
17
18
18
async function metadataWatch ( ) {
@@ -60,7 +60,7 @@ async function metadataWatch() {
60
60
await checkValidityOfMetadata (
61
61
metadataJson . endpointMetadata [ authority ] ,
62
62
METADATA_SOURCES . endpointMetadata . replace (
63
- AUTHORITY_PLACHOLDER ,
63
+ AUTHORITY_PLACEHOLDER ,
64
64
authority
65
65
)
66
66
) ;
@@ -96,7 +96,7 @@ async function metadataWatch() {
96
96
] = await checkValidityOfMetadata (
97
97
metadataJson . instanceDiscoveryMetadata [ authority ] ,
98
98
METADATA_SOURCES . instanceDiscoveryMetadata . replace (
99
- AUTHORITY_PLACHOLDER ,
99
+ AUTHORITY_PLACEHOLDER ,
100
100
authority
101
101
)
102
102
) ;
You can’t perform that action at this time.
0 commit comments