Closed joeldebont closed 6 months ago
The recent update introduces enhancements to the KindeAccessToken
by adding new fields: org_name
, roles
, and email
, alongside introducing a new type definition, KindeRole
. These changes aim to enrich the access token's data payload, providing more context and control over user access and identification within systems using Kinde authentication.
File(s) | Change Summary |
---|---|
types.d.ts |
Added org_name , roles , email to KindeAccessToken ; Added KindeRole type definition |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Added properties to KindeAccessToken type to support access token customization fields
Explain your changes
In the Kinde application settings you can customize the access token to add additional claims. These claims are not present in the KindeAccessToken type so with this PR these claims are added to the KindeAccessToken type as extra properties. This resolves typing errors when trying to access these properties.
Checklist
Summary by CodeRabbit