Authentication Alternatives

+2 votes
Are there any plans to add further authentication options beyond local and Facebook? Single-sign on for Windows Live, Google and Steam are becoming more important to ship on platforms other than iOS and Android.

Thanks,

Rob Targosz

Bent Vector Studios
asked Mar 9, 2014 in App42 Cloud API-BaaS by rtargosz (94 points)

1 Answer

+3 votes
 
Best answer

Authentication with Google/windows Live is not supported yet. However you can write a custom code by your own to do it using service provider API.

Here are the steps to perform.

·  Create an ACL enabled app from dashboard.

·  Write a custom code method which will accept access token and unique user id provided by service provider.

·  Validate access token and check if this access token belongs to same user id using provider REST API.

·  If it validates and belongs to same user id, create session id in Session Service using user id and return created session id in response. You have to use Admin Key to create session here. (See this)

·  If it does not validate throw unauthorize exception.

·   On client side use this session id in every request using setSessionId method and pass user id as user name wherever it is required.

 

This will enable auth in your app with required service provider. 

answered Mar 10, 2014 by ajay123 (899 points)
selected Mar 13, 2014 by rtargosz
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...