msal

Azure AD redirects to wrong location (localhost) after authentication

≡放荡痞女 提交于 2021-01-05 08:46:49
问题 I have code working in development that authorizes against Azure AD in a multi-tenant setup using the MSAL library (with the Microsoft Angular wrapper for MSAL). This code all works as expected when I am running it against localhost:5001 . My configuration contains a redirectUri for https://localhost:5001 and my application in Azure AD has its "Redirect URI" value set to the same. However, when I move this to production, it is continuing to try to redirect me to localhost:5001 on a successful

Azure AD redirects to wrong location (localhost) after authentication

此生再无相见时 提交于 2021-01-05 08:46:25
问题 I have code working in development that authorizes against Azure AD in a multi-tenant setup using the MSAL library (with the Microsoft Angular wrapper for MSAL). This code all works as expected when I am running it against localhost:5001 . My configuration contains a redirectUri for https://localhost:5001 and my application in Azure AD has its "Redirect URI" value set to the same. However, when I move this to production, it is continuing to try to redirect me to localhost:5001 on a successful

Azure AD redirects to wrong location (localhost) after authentication

大憨熊 提交于 2021-01-05 08:46:12
问题 I have code working in development that authorizes against Azure AD in a multi-tenant setup using the MSAL library (with the Microsoft Angular wrapper for MSAL). This code all works as expected when I am running it against localhost:5001 . My configuration contains a redirectUri for https://localhost:5001 and my application in Azure AD has its "Redirect URI" value set to the same. However, when I move this to production, it is continuing to try to redirect me to localhost:5001 on a successful

Blazor Webassembly Authenticated Event

心已入冬 提交于 2021-01-04 04:28:06
问题 When authenticating users with Microsoft.AspNetCore.Components.WebAssembly.Authentication, in a Blazor Webassembly application on the client side app that is hosted on ASP.NET Core (latest, blazor), when/how to call an action every time a user is authenticated? Even if they come back to the app and have an active session. Update 2020-07-15: The problem I am trying to overcome is that we have a service that goes to Graph API once a user logs in (MSAL) to get their info and profile image. After

Blazor Webassembly Authenticated Event

余生颓废 提交于 2021-01-04 04:27:39
问题 When authenticating users with Microsoft.AspNetCore.Components.WebAssembly.Authentication, in a Blazor Webassembly application on the client side app that is hosted on ASP.NET Core (latest, blazor), when/how to call an action every time a user is authenticated? Even if they come back to the app and have an active session. Update 2020-07-15: The problem I am trying to overcome is that we have a service that goes to Graph API once a user logs in (MSAL) to get their info and profile image. After

Blazor Webassembly Authenticated Event

戏子无情 提交于 2021-01-04 04:27:38
问题 When authenticating users with Microsoft.AspNetCore.Components.WebAssembly.Authentication, in a Blazor Webassembly application on the client side app that is hosted on ASP.NET Core (latest, blazor), when/how to call an action every time a user is authenticated? Even if they come back to the app and have an active session. Update 2020-07-15: The problem I am trying to overcome is that we have a service that goes to Graph API once a user logs in (MSAL) to get their info and profile image. After

Blazor Webassembly Authenticated Event

眉间皱痕 提交于 2021-01-04 04:27:09
问题 When authenticating users with Microsoft.AspNetCore.Components.WebAssembly.Authentication, in a Blazor Webassembly application on the client side app that is hosted on ASP.NET Core (latest, blazor), when/how to call an action every time a user is authenticated? Even if they come back to the app and have an active session. Update 2020-07-15: The problem I am trying to overcome is that we have a service that goes to Graph API once a user logs in (MSAL) to get their info and profile image. After

Blazor Webassembly Authenticated Event

女生的网名这么多〃 提交于 2021-01-04 04:26:12
问题 When authenticating users with Microsoft.AspNetCore.Components.WebAssembly.Authentication, in a Blazor Webassembly application on the client side app that is hosted on ASP.NET Core (latest, blazor), when/how to call an action every time a user is authenticated? Even if they come back to the app and have an active session. Update 2020-07-15: The problem I am trying to overcome is that we have a service that goes to Graph API once a user logs in (MSAL) to get their info and profile image. After

How to implement Authorization Code Grant with PKCE in Angular6+ applications

人盡茶涼 提交于 2020-12-12 15:36:57
问题 I need some input in implementing MSAL library in Angular6+ applications for integrating with AZURE AD. As i read through the microsoft docs, i came across two flows 'implicit grant flow' and 'auth code flow'. It is been recommended by microsoft team themselves that 'auth code flow' must be implemented as its secure as compared to 'implicit grant flow'. Im working on a Angular6+ application, and I have to integrate it with AZURE AD. When i checked the MSAL libraries for angular i could only

How to implement Authorization Code Grant with PKCE in Angular6+ applications

北城以北 提交于 2020-12-12 15:35:36
问题 I need some input in implementing MSAL library in Angular6+ applications for integrating with AZURE AD. As i read through the microsoft docs, i came across two flows 'implicit grant flow' and 'auth code flow'. It is been recommended by microsoft team themselves that 'auth code flow' must be implemented as its secure as compared to 'implicit grant flow'. Im working on a Angular6+ application, and I have to integrate it with AZURE AD. When i checked the MSAL libraries for angular i could only