yes I have control on CAS server of website 2 and also on website 2. 

I have limited control on website 1 and login mechanism of website 1 is not 
known.

Actually only website 2 uses CAS server for authentication. Website1 has 
its own login-mechanism. So I was planing to get this authenticated to CAS 
server (of website 2) through REST API (when it authenticates the user 
through its own login mechanism) and pass the same to website 2 when it 
redirects. But while simulating this scenario, I found that when it 
redirects to website 2 it is prompting the user for login-credentials again.

Please suggest.


On Wednesday, May 6, 2015 at 6:06:10 PM UTC+5:30, Misagh Moayyed wrote:
>
> Do you have control of the 2nd CAS server for website 2?
>
>  
>
> *From:* Anshika [mailto:[email protected] <javascript:>] 
> *Sent:* Wednesday, May 6, 2015 5:05 AM
> *To:* [email protected] <javascript:>
> *Subject:* [cas-user] CAS authentication via external website redirect
>
>  
>
> There is a website1 (having its own login mechanism) which links to 
> another website 2 hosted on different server(needs authentication via own 
> CAS server). 
>
>  
>
> How can we achieve using CAS Rest API to automatically log-in the user to 
> website 2 when user comes via redirect from website 1.
>
>  
>
> Through CAS Rest API I am able to authenticate website 1. but when it 
> redirects to website 2 CAS login page gets displayed.
>
>  
>
> HTTP referrer is not serving the purpose due to HTTPS to HTTP redirect it 
> gives empty result.
>
>  
>
> Please suggest.
>
>  
>
> -- 
>
> You are currently subscribed to [email protected] <javascript:> as: 
> [email protected] <javascript:>
>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
> -- 
> You are currently subscribed to [email protected] <javascript:> as: 
> [email protected] <javascript:>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>
-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to