View Profile
In this walkthrough, John opens his Wayfinder profile and exercises the two parts of the use case. He views what Wayfinder stores about him: name, email, and the other attributes on his Customer record. He then updates the values he wants to change: his last name and his password.
Complete Set Up Your Environment before starting this walkthrough.
Add Self-Service Profile Management covers the requirements story behind this use case.
Pick Your Pattern
Redirect-based
In the redirect-based pattern, the consumer app renders the profile screen itself. Profile attributes are read directly from the ID token, and updates go through ThunderID's self-service endpoints — /users/me for attribute changes and /users/me/update-credentials for password changes. These endpoints act on the signed-in user's own record, so no extra permissions are needed; the access token alone is enough.
Try the Use Case
- Open http://localhost:5173 and sign in as John.
- Open the account menu and select Profile. The sample reads John's attributes from his ID token and renders the View section.
- Edit the Last Name field and select Save.
- Select Change Password, enter the current password, set a new one, and save.
Try a Variant
- Add a new attribute to the
Customerschema (for example,seatPreference) and verify it appears on John's profile page after a refresh. See User Types.
App-native step-by-step
Coming soon. See the App-native pattern for what to expect.
App-native managed
Coming soon. See the App-native pattern for what to expect.
Direct API
Coming soon. See the Direct API pattern for what to expect.
Going Deeper
- Want to understand which attributes Wayfinder stores about John? See User Types in the Identity Concepts.
- Prefer to define the
Customerschema manually? See Set Up the Foundation in Configure It Yourself.