Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Getting Started with Android Authentication Using Kotlin

Okta via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course walks through adding Auth0 login and logout to a starter Android app, then extracting user information from an ID token and displaying it in the app. It uses Kotlin and requires the starter project and an Auth0 account.

Syllabus

Introduction
What you'll build
Download and run the starter project
The general idea behind connecting an app to Auth0
How to sign up for a free Auth0 account
Accordion break!
Register the app in the Auth0 dashboard
Add info to the app so it can communicate with Auth0
Add info to Auth0 so that it can communicate with the app
Add the Auth0 libraries and other info to build.gradle
Give the app permission to access the internet
Add import statments and properties to the main activity
Initialize the main activity
Implement the login method
Implement the logout method
Implement the updateUI method
Run the app
Next step: Display info about the logged-in user
A closer look at the ID token
Extract user info from the ID token with the User class
Get the user info from the User class and display it onscreen
Run the app again
Conclusion

Taught by

Okta

Reviews

Start your review of Getting Started with Android Authentication Using Kotlin

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.