logto-io / js

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

feat(next): add getAccessTokenRSC function to server actions #780

Closed alfonsograziano closed 3 months ago

alfonsograziano commented 3 months ago

Summary

This PR improves the DX of the getAccessToken function, creating a new function that can be executed in the context of a React Server Component.

Testing

I'm not sure how to test this PR locally, I'd like to get support on this topic.

Checklist