I am working on creating a Angular WebApp, http://localhost:80/MyApp and applying MSAL for authentication.
Parent Component (Landing page):
http://localhost:80/MyApp
Child Component:
http://localhost:80/MyUsers?UserId=111
My question, is it possible if user hits the Child URL then it routes to SSO and come back to child URL itself with URI param, instead of Parent or Landing url?
Note: Landing page SSO redirection is working fine by applying below config:
ClientID: 'asdhjsahiadsh',
authority: "",
redirectUri: 'http://localhost:80/MyApp',
cacheLocation: "sessionStorage",
postLogoutRedirectUri: "http://localhost:80/MyApp",
navigateToLoginRequestUrl: false,
consentScopes: [],
unprotectedResources: ["https://www.microsoft.com/en-us/"],
logger: (logLevel, message, piiEnabled) => undefined,
piiLoggingEnabled: true
Any help would be much appreciated.
question from:
https://stackoverflow.com/questions/66047432/webapp-with-msal-sso-for-redirect 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…