Create an Okta app integration
Before you can sign a user in, you need to create an Okta app integration that represents your mobile application.
Sign in to your Okta organization with your administrator account. Go to Admin Console
From the Admin Console side navigation, click Applications > Applications.
Click Add Application and then Create New App.
Pick Native as the platform and click Create.
Note: It is important to choose the appropriate application type for apps which are public clients. Failing to do so may result in Okta API endpoints attempting to verify an app's client secret, which public clients are not designed to have, hence breaking the sign-in or sign-out flow.
Enter a name for your app integration (or leave the default value).
Enter your callback route for the Login redirect URI. This is the full redirect URI that you defined in the previous step (for example,
Enter your callback route for the Logout redirect URI. This is the full redirect URI that you defined in the previous step (for example,
Include a URI in the Initiate login URI box to have Okta initiate the sign-in flow. When Okta redirects to this endpoint (for example,
https://example:0000.com/login), the client is triggered to send an authorize request. This URI is also used when users reset their passwords while signing in to the app. Okta redirects the user back to this URI after the password is reset so that the user can continue to sign in.