ASP.Net Cross-Site Authentication -
i have website using forms authentication on domain1.com.
i've been asked how login page can developed on domain2.com logs user domain1.com , redirects them domain1.com homepage (domain2.com has no membership system , purely alternative page log in domain1.com from).
is possible out of box or need develop page on domain1.com authenticates login request domain2.com?
yes, can reuse auth page. create form in domain2.com pointing auth uri in domain1.com
citing w3schools:
the possible values of action attribute are:
- an absolute url - points web site (like action="http://www.example.com/example.htm")
- a relative url - points file within web site (like action="example.htm")
update: i'm supposing want authenticated pages of domain1. although you're sending credentials domain2, you're posting data , being redirected domain1. auth cookie valid such domain (domain1).
Comments
Post a Comment