This code repository is provided on an "as-is" basis for demonstration purposes. For further information on the Gigya platform and APIs, please reference http://developers.gigya.com
This project shows a custom implementation on how Single-Sign-On (SSO) can be achieved from one app to another, leveraging Gigya's iOS SDK.
This project is not officially Gigya, therefore, PLEASE DO NOT CONTACT GIGYA SUPPORT ABOUT IT.
-> Keychain implementation for Gigya SSO
-> Session management through Gigya SDK
-> Gigya Registration-as-a-Service (RaaS) features and flows
-> Native, plugin and web-view options
A pod file is included in this project, which configures Gigya, Facebook and Google native SDKs. For the purpose of this demo, a test Gigya API key, Facebook and Google application keys are being used from a test account.
Please do not use any of these api keys and provider ids in Production codes - as it is configured for demo purposes only.
From Terminal, run
pod install
Depending on your xcode configuration, you may get a message from cocoa pods indicating to use '$(inherited)' in 'Other Linker Flags' in Build Settings. This is important in order to avoide compilation linking issues.
Gigya iOS SDK installation
Gigya iOS Reference Documentation
Gigya iOS SDK change log
The info.plist file contains all necessary LSApplicationQueriesSchemes and URLSchemes in order for Google and Facebook to make use of their own native sdk for login. The following link describes in more details on configuration present in this project: Native Login for social providers