简体   繁体   中英

How to redirect from web page to windows application?

I have MVC application where I'm authenticating user through the ADFS and send that details to the windows application to authentication. The steps i followed are:

  1. Sending username and password to ADFS.
  2. Receiving token from ADFS once user authenticated.
  3. Validating Token

I want to transfer the token and user details to Desktop Application to authenticate Windows Application.

The MVC application and the desktop application are two different applications.

So you need two Relying Parties (RP) in ADFS.

Then with SSO, once you are logged into one you are logged into the other.

If you are using ADFS 4.0, the desktop application can use ADAL.

Similar to this for Azure AD.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM