Custom Claims

Is it possible to add custom claims to a token? With Auth0 I’ve added profileComplete for example in my claims to let me know if I need to redirect to complete a profile. Appreciate that’s a poor example and I’ll likely refactor but it’s just an example of a random claim. Is this possible with Kinde?
4 Replies
dillorscroft
dillorscroftOP4mo ago
Thought about deleting this but for anyone in the future it’s called a property in Kinde! Just spotted it
Oli - Kinde
Oli - Kinde4mo ago
Hey @dillorscroft, Sounds like you found the solution to add custom claims to a token. Thanks for commenting here so others can find it. I'll add a link to the docs here so others know where to find more details: https://docs.kinde.com/properties/about-properties/
Kinde docs
About properties
Our developer tools provide everything you need to get started with Kinde.
dillorscroft
dillorscroftOP4mo ago
How can I retrieve these custom properties in a client component in NextJS?
Oli - Kinde
Oli - Kinde4mo ago
Hey @dillorscroft, Unfortunately I am not an expert on NextJS client component functionality. I would suggest asking in #⚡⏐ask-kinde-ai and if you are still having issues, please reach out here.
Want results from more Discord servers?
Add your server