Guides
User Profile
Retrieve user profile data such as email or social login metadata
Crossmint Auth provides a way to retrieve and update user profile data, such as email, social login metadata, and more.
Reading User Data
This API requires the users.read
scope.
- Server side: Requires a server-side API key.
- Client side: Requires a client-side API key, and a logged in user.
Server-side
For server-side operations, use the @crossmint/server-sdk
that provides a getUser
function to fetch user information.
Response Format
Client-side
Use the useAuth
react hook from @crossmint/client-sdk-react-ui
to access the user object.
If you would like to use a different framework, contact support
React