The general idea behind connecting an app to Auth0
5
How to sign up for a free Auth0 account
6
Accordion break!
7
Register the app in the Auth0 dashboard
8
Add info to the app so it can communicate with Auth0
9
Add info to Auth0 so that it can communicate with the app
10
Add the Auth0 libraries and other info to build.gradle
11
Give the app permission to access the internet
12
Add import statments and properties to the main activity
13
Initialize the main activity
14
Implement the login method
15
Implement the logout method
16
Implement the updateUI method
17
Run the app
18
Next step: Display info about the logged-in user
19
A closer look at the ID token
20
Extract user info from the ID token with the User class
21
Get the user info from the User class and display it onscreen
22
Run the app again
23
Conclusion
Description:
Learn how to implement secure authentication in Android applications using Kotlin and Auth0. Follow along with this comprehensive 53-minute tutorial to add login and logout functionality to a basic Android app, as well as display user information from their account. Download the starter project from GitHub, set up a free Auth0 account, and configure your app to communicate with Auth0. Explore key concepts such as registering your app in the Auth0 dashboard, adding necessary libraries, implementing login and logout methods, and extracting user information from ID tokens. By the end of this screencast, you'll have a fully functional Android app with robust authentication features, allowing you to focus on developing your app's core functionality.
Getting Started with Android Authentication Using Kotlin