You must Sign In to post a response.
  • Category: ASP.NET

    Authentication of external site user from code behind

    Hi,

    I have requirement where external site (site from other domain) user to be validated from code behind file.

    For eg:
    I have url of external domain site with credentials.
    When i pass httprequest with URL and credential details it should authenticate user and send authentication cookie or token.
  • #765109
    Hi Milan,

    If you want an external site to authenticate your user, that site must have implemented authentication viz authentication methods inside it. Then only that site may return you authentication cookies.
    If you want details on how to implement authentication in your web/windows application, please refer following links:
    http://www.asp.net/web-api/overview/security/basic-authentication
    https://msdn.microsoft.com/en-us/library/eeyk640h.aspx
    Hope it helps!
    Regards,
    Shashikant Gurav
    shashikantgurav22@gmail.com


Sign In to post your comments