Custom Login without the Microsoft Login Popup

ABHISHEK KUMAR 81 Reputation points
2023-05-16T11:27:09.16+00:00

I am having one app that is using custom login page and we have to authenticate users from Azure AD without the microsoft login page... It means we have to silently authenticate without the MS popup... We know, We can go with OpenIDCOnnect...
If you have any articles for this... Please attach the link in the reply.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

Accepted answer
  1. Alfredo Revilla - Upwork Top Talent | IAM SWE SWA 27,526 Reputation points Moderator
    2023-05-17T06:08:05.27+00:00

    Hello @ABHISHEK KUMAR , to authenticate to Azure AD without using the login UI you need to implement the OAuth 2.0 Resource Owner Password Credentials flow. Microsoft recommends you do not use the ROPC flow. In most scenarios, more secure alternatives are available and recommended. This flow requires a very high degree of trust in the application, and carries risks that are not present in other flows. You should only use this flow when other more secure flows aren't viable.

    Let us know if you need additional assistance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.