File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed
3-Authorization-II/1-call-api Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ Function ConfigureApplications
276276 $clientAadApplication = New-MgApplication - DisplayName " msal-angular-spa" `
277277 - Spa `
278278 @ { `
279- RedirectUris = " http://localhost:4200" ; `
279+ RedirectUris = " http://localhost:4200/ " , " http://localhost:4200/auth " ; `
280280 } `
281281 - SignInAudience AzureADMyOrg `
282282 # end of command
Original file line number Diff line number Diff line change 6565 "Kind" : " SinglePageApplication" ,
6666 "Audience" : " AzureADMyOrg" ,
6767 "HomePage" : " https://localhost:4200" ,
68- "ReplyUrls" : " http://localhost:4200" ,
68+ "ReplyUrls" : " http://localhost:4200, https://localhost:4200/auth " ,
6969 "Sample" : {
7070 "SampleSubPath" : " 3-Authorization-II\\ 1-call-api\\ SPA" ,
7171 "ProjectDirectory" : " \\ 1-call-api\\ SPA"
Original file line number Diff line number Diff line change @@ -7,9 +7,12 @@ a.title {
77}
88
99footer {
10- position : absolute;
10+ position : fixed;
11+ left : 0 ;
1112 bottom : 0 ;
1213 width : 100% ;
14+ color : white;
15+ text-align : center;
1316}
1417
1518.footer-text {
Original file line number Diff line number Diff 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 } ,
You can’t perform that action at this time.
0 commit comments