Allow getToken
in Server Components
#5754
Labels
enhancement
New feature or request
triage
Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Description 📓
It is now possible to use
unstable_getServerSession
from a server component (in Next.js 13) thanks to #5741.It should be possible to use the same trick to allow using
getToken
as well I guess?I’m available to draft a PR with a POC in the next couple of days.
How to reproduce ☕️
N/A
Contributing 🙌🏽
Yes, I am willing to help implement this feature in a PR
The text was updated successfully, but these errors were encountered: