implement GGID login to your iOS application
You need CocoaPods to use this app. Run
pod install
to install dependencies.
After running pod install above, Cocoa Pod will create GGID Sample.xcworkspace file. This is the file you should open instead of the GGID Sample.xcodeproj
There are a couple things you need to configure before running this app:
- AppDelegate.m ** configure client id, client secret, auth URL, token URL, redirect URL to match your application (registered in GGID) settings
- BrowserViewController.m ** configure the redirectURI variable to match your app redirect URI in webViewDidFinishLoad: