On this page
Add user authentication to your Android app
Get started with Android + Okta
These resources walk you through adding user authentication to your Android app in minutes.
Add sign-in with Okta to your app
There are two ways to integrate sign-in with Okta to your app. The easiest to integrate is the redirect model that uses the Okta-hosted Sign-In Widget. You open the widget, Okta processes the sign-in attempt, and then sends the result to your app. The other is the embedded model, where you manage each step in the sign-in flow. See Overview of the mobile Identity Engine SDK for more detail.
Use the redirect model
This method works with both Okta Identity Engine and Okta Classic Engine.
SDK: Okta Mobile SDK for Kotlin (opens new window).
Example: Browser sign-in (opens new window).
Use the embedded model
This method works only with Identity Engine.
SDK: Identity Engine Android SDK (opens new window).
Example: Android dynamic authentication example (opens new window).
Okta-hosted Sign-In Widget guide::
Embedded SDK and Sign-In Widget sign-in guides:
- Implement the Authorization Code flow with PKCE
- Add an identity provider (includes social login)
- Validate access tokens
- Validate ID tokens
Note: Browse our recent Android Developer Blog posts (opens new window) for further useful topics.