javascript - How do you authenticate the same user to multiple domains using CORS? -
i have 3 webapps each running on different domains under cors-enabled tomcat 7 distribution. how use cors authenticate user on 3 domain without having type {username,password} 3 times?
currently user has retype credentials 3 times data appear each of 3 domains.
i have read through this post , seems person authenticating 1 domain (bavarians).
it not possible share authentication between sites on different domains using basic authentication directly, there may tricks if sub-domains see:
another alternative switch federation using security token service. users redirected sts first domain hit , need log in, if go domain redirect sts again no login needed long session had not expired.
Comments
Post a Comment