Skip to content

penfold45/samples-android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android Samples

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).
Custom Sign In An application that show how to authenticate to Okta account within app without any browsers. Also it shows how verify MFA(Multi Factor Authentication) such as Call, SMS, OktaVerify(Push, Code), Google Authenticator. Demonstrating how to implement password recovery process, answering security question. Native Android app. Implementing whole authenticate process within application without other apps (like browser)
Sign In Kotlin A Kotlin example of authentication flows using the WebBrowser (Chrome Custom Tabs) and custom sign-in. Native Kotlin Android app. Authenticate via browser and custom sign-in using Okta Authentication SDK
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.

MinSDK Requirements

The Okta OIDC Android SDK supports Android 5.0 (lolipop) and above (minSdkVersion >= 21).

Packages

No packages published

Languages

  • Java 92.8%
  • Kotlin 7.2%