Note: These samples have not been updated to use the new Okta Mobile SDK, but you can visit the quick start guide to learn how to use it in your own applications.
This repository contains 3 different Android sample applications that show you how to authenticate to Okta account and how to work with the OKTA API in your Android application.
Please find the sample that fits your use-case from the table below.
Sample | Description | Use-Case |
---|---|---|
Browser Sign In | An application that show how to authenticate to Okta account via WebBrowser (Chrome Custom Tabs) using OpenID protocol and get acccount detail info. | Native Android app. Authenticate to app via browser without creation any additional login form and using already authenticate session(if user do authentication in browser before). |
TOTP Generator | A sample application that generates TOTP tokens. | An application that shows how developer can build their own Google Authenticator clone for their brand. |
The Okta OIDC Android SDK supports Android 5.0 (lolipop) and above (minSdkVersion >= 21).