Hi Andy, I wonder if you have few minutes to talk about your integration?. At Rutgers , our Portal team is working on building a mobile app and they need to establish SSO with CAS so that users can access other applications without the need to re-authenticate .
If you are available , I will have one of my IdM and Portal engineers to talk to you . We are using CAS 5.3 . My University email address is "[email protected]" Much appreciated . Regards, Omer AlMatary On Thursday, April 11, 2019 at 10:02:52 PM UTC-4 Andy Ng wrote: > Hi Yan, > > We have built something like this before, > > And the answer is: yes you can! When user login to webapp using CAS > protocol, they can SSO to their native app. > > However some implementation is needed, I can give you some information on > this: > - So achieve this, you would want the native app to *not use WebView* to > open browser, instead us Chrome Custom Tab for Android / Safari View > Controller for iOS > - it is quite complicated to setup the Chrome custom tab or Safari View > Controller yourself, so I recommend using the AppAuth library (supported by > Google) instead: > - AppAuth iOS: https://github.com/openid/AppAuth-iOS > - AppAuth Android: https://github.com/openid/AppAuth-Android > - The behavior is like the below: > - When user login to your app, it will pop up a in-app browser inside > the app (instead of redirecting to the outside browser / instead of using > webview) > - Since user already login, CAS will redirect to the redirect_uri, so > this screen will flash for a sec > - The in-app browser then will be closed, and AppAuth library will > handle the rest of the login. > > In the case where user it not login yet, CAS login screen will be shown, > and the flow will be the same after user authenticate successfully > > See if the above helps you. > > Cheers! > - Andy > -- - 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/bb73ac41-e1e7-4f73-9d30-a4b9da980e41n%40apereo.org.
