Frontend
Getting User Data
Getting user data is simple and fast. Since the Corbado session-token is implemented as a JWT, we can get certain user data from the JWT claims directly. Our SDK takes care of this:
The Corbado provider must be integrated for this to work. Go Back to Initialize Corbado
Accessing User Data
1
Access the User Provider
The CorbadoUserProvider
supplies various user details.
lib/pages/profile_page.dart
2
Access User Properties
Once you have the user provider, you can access the user data everywhere in your app: