Skip to content

Commit 1a38d91

Browse files
authored
Update configure-authentication-sample-angular-spa-app.md
auth.authority expects "b2cPolicies.authorities.signUpSignIn.authority" otherwise users get an error TS2322: Type '{ authority: string; }' is not assignable to type 'string'. I have corrected this in the docs
1 parent 03ec1d4 commit 1a38d91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/active-directory-b2c/configure-authentication-sample-angular-spa-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export const b2cPolicies = {
145145
export const msalConfig: Configuration = {
146146
auth: {
147147
clientId: '<your-MyApp-application-ID>',
148-
authority: b2cPolicies.authorities.signUpSignIn,
148+
authority: b2cPolicies.authorities.signUpSignIn.authority,
149149
knownAuthorities: [b2cPolicies.authorityDomain],
150150
redirectUri: '/',
151151
},

0 commit comments

Comments
 (0)