Customize UI With ID Token Data From The useAuth0 Hook's User Object

InstructorWill Johnson

Share this video with your friends

Send Tweet

After a user successfully logs in, Auth0 sends an ID token to your React application. Auth0, uses ID Tokens to cache user profile information and give it to a client application. The caching of ID tokens can improve the performance and responsiveness of your React application.

You can use the data from the ID token to personalize the user interface of your application. The Auth0 React SDK decodes the ID token and stores its data in the user object from the useAuth0() React hook.