I'm able to make cas work with single login for both CAS and OAuth protocols with the steps mentioned.
I see that this happens via TGC Cookie, which is created when the user logs in for the first time. Thanks a lot once again Andy. On Tue, Aug 20, 2019 at 10:10 AM Gandhi <[email protected]> wrote: > Thanks a lot Andy. Will try this and post my observations > > On Sunday, August 18, 2019 at 9:39:07 AM UTC+5:30, Andy Ng wrote: >> >> Hi Gandhi, >> >> So basically these are the process that would happends when you use both >> CAS and OpenID one after another >> >> 1. User login to CAS (e.g. *https://www.cas-server.com >> <https://www.cas-server.com>*?service=*https://some.service.com >> <https://some.service.com>*) >> 2. User login success >> 3. When you go back to *https://www.cas-server.com >> <https://www.cas-server.com>*, you can see user is already logined >> >> 4. Let say you are using OAuth (simialr as to OpenID, I just use OAuth so >> it is easier to explain) https://www.cas-server.com/oauth2.0/authorize >> response_type=code&client_id=<ID>&redirect_uri=*https://www.your-oauth-service.com >> <https://www.your-oauth-service.com>* >> - (please check out this: >> https://apereo.github.io/cas/5.3.x/installation/OAuth-OpenId-Authentication.html >> ) >> 5. Since checked in Step 3, CAS login page is already logined, when you >> go step 4, user will be automatically logined, and toward the next steps >> - If you have trouble in this steps, try check if SSO is enabled, and >> check if SSO is working properly by login using 2 CAS protocol service >> >> So, basically, you don't need much confiuration and it will already >> works, if don't work, please give us your log and details for exminatino. >> >> Cheers! >> - Andy >> >> > *This mail contains confidential information intended only for the > individual(s) named. If you’re not the named addressee, don’t disseminate, > distribute or copy this e-mail. Please notify the sender immediately and > delete it from your system.If you wish not to receive such e-mails you may > reply with text “Unsubscribe”.* > > -- > - Website: https://apereo.github.io/cas > - Gitter Chatroom: https://gitter.im/apereo/cas > - List Guidelines: https://goo.gl/1VRrw7 > - Contributions: https://goo.gl/mh7qDG > --- > You received this message because you are subscribed to the Google Groups > "CAS Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/a/apereo.org/d/msgid/cas-user/8aad7905-d882-4ee0-b611-8f6990880a11%40apereo.org > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/8aad7905-d882-4ee0-b611-8f6990880a11%40apereo.org?utm_medium=email&utm_source=footer> > . > -- _This mail contains confidential information intended only for the individual(s) named. If you’re not the named addressee, don’t disseminate, distribute or copy this e-mail. Please notify the sender immediately and delete it from your system.If you wish not to receive such e-mails you may reply with text “Unsubscribe”._ -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAAXuvfP9%3DSxJjxHtp2L%3DaeQVh%3De3toZ8FX-bns0p7_vBZb1iMw%40mail.gmail.com.
