Azure AD authentication

0
0

Hi,

i followed the instruction

https://docs.microsoft.com/en-us/azure/active-directory/develop/tutorial-v2-asp-webapp

and can make Azure AD works well with normal  ASP.NET Application, but  it does not work at all with Wisej app. User sees the main page without entering microsoft username/password. Where should i put the attribute [Authorize] (on Program class or MainPage class …) or I was missing other configurations?

Thank you for your help,

Page

  • You must to post comments
0
0

See https://wisej.com/support/question/single-sign-on for a sample and video.

The attribute [Authorize] doesn’t make sense in Wisej, it’s a single page app. Asp.NET navigates from url to url, SPAs don’t. Azure and other oauth systems navigate away to login and navigate back. Wisej simply works with any authentication, in Program.Main or any entry point it’s up to you to start the authentication flow using the standard navigation, etc.

  • You must to post comments
0
0

Hi,

i attach the simple Wisej example. Please take a look at it.

Page

Attachment
  • You must to post comments
0
0

Please attach your Wisej sample. In general. ASP.NET is based on html page navigation and string concatenation since it’s not an SPA system. Wisej, being an SPA, doesn’t navigate so you either authenticate before loading the first page or use the dynamic SSO approach.

I can send you an SSO sample for Azure AD, Google, LinkedIn and Facebook. Contact support at wisej.com directly

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.