How to implement SSO using OAUTH in Kony 6.5. Is there any documentation or sample application available?

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

Hi,

You can refer the following link for the corresponding steps .

http://docs.kony.com/6_5/konylibrary/mobilefabric/kony_mobilefabric_user_guide/Default.htm#Identity.htm%3FTocPath%3DFeatures%7CIdentity%7C_____0

Thanks

Hi,

Thanks alot for your quick response. Is there a way we achieve this without Mobile Fabric?

If so, Could you share any sample project for the same?

Hi,

Identity service configuration is given as feature in mobile fabric and specifically for OAUTH it is easier to configure through mobile fabric but if you want to do the same without mobile fabric you need to use a browser widget and configure the corresponding URL in the callback you will get the code and pass it through the network call. We don't have any sample application for the same.

Thanks

Hello,

Withtout using Mobile Fabric you can configure this as a normal json service in the Kony Studio.

You should configure the token endpoint and configure the appropriate endpoint url and pass the required input params.

For example the URL for OAuth can be as below.

http://<domian>:<port>/servicesapi/page?nid=141&oauth_signature_method=HMAC-SHA1&oauth_consumer_key=dkQBDMXjtcrpDyEk5qAfw5FeKfKNwDd8&oauth_version=1.0&oauth_timestamp=$oauth_timestamp_c&oauth_nonce=$oauth_nonce_c&oauth_signature=$oauth_signature_c

You have to pass the input params defined in the $ so that they will be replaced at runtime.

Hope this helps.

Hi @Hvwis Cvssidy​, it looks like you got some responses to your post. Did any of them help you to a resolution? If yes, please click [Select as Best] to close out this post. Thanks!

Hi @Hvwis Cvssidy I see that you are on version 6.5. As you know, this version is no longer supported by Kony. I wanted to let you know about our current End of Life offering (http://bit.ly/2Kw8QCd) and invite you a webinar about it on May 15, 2018. Click here to register for the webinar: http://bit.ly/2HLNsuR.

Hi @Hvwis Cvssidy​ We have posted an important announcement on the exciting features and innovations from Google I/O, along with the updates on Android "P" and the upcoming changes on the Google Play Store and how these may affect your Applications. The Google Play Store guidelines affect all existing and new applications on the Google Play Store. Please read further to ensure your applications are compliant with the new guidelines. Applications which are not compliant to the guidelines may be rejected by the Play Store once the guidelines take effect. Here is a link to the article :https://basecamp.kony.com/s/article-detail/a046A00000AU0sXQAT/google-io-android-p-play-store-changes