Skip to main content

Get user data from API

To access user data in your frontend application, use the hanko.getCurrentUser() method from the hanko-frontend-sdk (also available via hanko-elements).
To extract user claims from the JWT token, use the hanko.validateSession() function.