logto-io / js

🤓 Logto JS SDKs.
https://docs.logto.io/quick-starts/
MIT License
61 stars 40 forks source link

feat(client,node): add organizationId param to getAccessTokenClaims #699

Closed wangsijie closed 5 months ago

wangsijie commented 5 months ago

Summary

Add organizationId param to getAccessTokenClaims function.

Users can now pass an organizationId to the getAccessTokenClaims function, and this will be passed down to the getAccessToken function. This allows you to get the access token claims with scopes inherited from the specific organization.

Testing

Local tested.

Checklist