SAML Authentication for Liferay Screenlets Android App

thumbnail
Ankit Srivastava, modified 7 Years ago. New Member Posts: 12 Join Date: 1/5/18 Recent Posts

Hi All,

I have created android app using Liferay screenlets , using Login, WebContent Display , Web Content List screenlets. Our portal is using SAML for authentication and working as SP whereas ADFS working as IDP. How can we authenticate users using SAML in android app? Please suggest.

 

Thanks,

Ankit

thumbnail
Ankit Srivastava, modified 7 Years ago. New Member Posts: 12 Join Date: 1/5/18 Recent Posts

Did anyone try this before? Provide your suggestions.

 

Thanks,

Ankit

thumbnail
Javier Gamarra, modified 7 Years ago. Expert Posts: 348 Join Date: 2/12/15 Recent Posts

Hi!

We've tried several SSO implementations and integrated Screens with some of them... the easiest way would be using a token based authentication (using OAuth or independently) between the portal and the mobile application... (I know it means lots of changes and configurations)

I would also try with the cookie mode, login normally to the portal inside the application and use that cookie to do request to the JSON-WS services.

Other easy, although more cumbersome for the users and fragile, would be logging a webview inside the android application and intercepting the credentials to do a request to the JSON-WS services.