問題描述
我正在開發(fā)一個(gè)帶有自定義登錄頁(yè)面的本地 ASP.NET Web 應(yīng)用程序,以對(duì) Azure AD 中的用戶進(jìn)行身份驗(yàn)證.我想通過用戶名/密碼向 Azure AD 發(fā)出請(qǐng)求,并獲取令牌/user_info 以對(duì)用戶進(jìn)行身份驗(yàn)證,而不提示 Azure AD 登錄屏幕.
- 有人知道我該如何提出這個(gè)請(qǐng)求嗎?
- 有可能嗎?
我正在嘗試使用 OpenID 連接、OAuth、JWT.
你可以使用
使用ROPC
,可以發(fā)送http請(qǐng)求獲取access_token
和id_token
.
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.
- Somebody knows how can I make this request?
- Is it possible?
I'm trying to use OpenID connect, OAuth, JWT.
You can use ROPC flow.
Use ROPC
, you can send http request to get access_token
and id_token
.
這篇關(guān)于ASP.NET 網(wǎng)頁(yè)按請(qǐng)求在 Azure AD 中進(jìn)行身份驗(yàn)證的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!