Skip to content
This repository was archived by the owner on Feb 11, 2023. It is now read-only.

Commit 4322fa3

Browse files
authored
Update AuthContext.tsx
1 parent de04362 commit 4322fa3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/msal-capacitor-plugin-demo/src/context/auth/AuthContext.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ export const useAuthentication = (): IAuthContext => {
2424
let uri = isPlatform('capacitor') ? 'msauth.{bundle Id}://auth' : 'http://localhost:3000';
2525
console.log(uri);
2626
(await MsalCap.setOptions({
27-
clientId: '6b51f8a2-d03d-4d86-b753-87b45b89d794',
28-
authority: `https://login.microsoftonline.com/29967363-a86a-4ea6-8f76-29aa44ec6f27`,
27+
clientId: '{Client ID}',
28+
authority: `https://login.microsoftonline.com/{Tenant ID}`,
2929
redirectUri: uri,
3030
scopes: [
3131
'user.read'
@@ -144,4 +144,4 @@ export const useAuthentication = (): IAuthContext => {
144144
}
145145
}
146146

147-
export default AuthContext;
147+
export default AuthContext;

0 commit comments

Comments
 (0)