Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 0f937fb

Browse files
author
Doğan Erişen
authored
fix redirect uri in 5.1
1 parent cfc7f7c commit 0f937fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

5-AccessControl/1-call-api-roles/SPA/src/app/auth-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const msalConfig: Configuration = {
1818
auth: {
1919
clientId: 'Enter_the_Application_Id_Here', // This is the ONLY mandatory field that you need to supply.
2020
authority: 'https://login.microsoftonline.com/Enter_the_Tenant_Info_Here', // Defaults to "https://login.microsoftonline.com/common"
21-
redirectUri: '/', // Points to window.location.origin by default. You must register this URI on Azure portal/App Registration.
21+
redirectUri: '/auth', // Points to window.location.origin by default. You must register this URI on Azure portal/App Registration.
2222
postLogoutRedirectUri: '/', // Points to window.location.origin by default.
2323
clientCapabilities: ['CP1'] // This lets the resource server know that this client can handle claim challenges.
2424
},

0 commit comments

Comments
 (0)