ASP.NET web page authenticate in Azure AD by request

Viewed 170

I'm developing a local ASP.NET web application with a custom login page to authenticate users in Azure AD. I whant to make a request to Azure AD passing the username/password and get the token/user_info to authenticate the user, without prompt the Azure AD login screen.

  1. Somebody knows how can I make this request?
  2. Is it possible?

I'm trying to use OpenID connect, OAuth, JWT.

1 Answers

You can use ROPC flow.

enter image description here

Use ROPC, you can send http request to get access_token and id_token.

enter image description here

enter image description here

Related