Use the sample iOS app that you cloned from GitHub to test how multiple apps can share a browser session with iOS.
Install the dependencies
To install the Okta Browser Sign-in sample app dependencies into your project, this guide uses CocoaPods.
Enter the following at the command line inside the sample app:
Note: Be sure to work within the Okta BrowserSignIn Workspace in Xcode after you do
Modify the configuration file
Make the following modifications in the
OktaBrowserSignIn/Okta.plist file of your sample app:
com.first.sample:/callback as the value, which is what you defined as the Login Redirect URI in the Native app that you created in the last step.
clientId: Enter the Client ID that you copied during the last step.
issuer: This is the URL for the authorization server that performs authentication. It's a combination of your
Org URL and
Note: You can find the
Org URLion the Admin Console's global header in the upper-right corner of the page. Click the section that displays your email and company name. A drop-down box appears and displays general org information including the full
Org URL (for example, subdomain.okta.com).
com.first.sample:/logout as the value, which is what you defined as the Logout Redirect URI in the Native app that you created in the last step.