nuxt-auth icon indicating copy to clipboard operation
nuxt-auth copied to clipboard

RFC: getServerSession support for Websockets and other non-H3Event requests

Open CeebDev opened this issue 11 months ago • 1 comments

Describe the feature

It'd be nice if getServerSession could be called with non-H3Event payloads, to allow all standardized req / res sources to get the server session. A prominent example of this are websockets

This is a reopen of #135

I use defineWebSocketHandler and can't authentificate peers

How would you implement this?

No response

Additional information

  • [ ] Would you be willing to help implement this feature?

Provider

  • [ ] AuthJS
  • [ ] Local
  • [ ] Refresh
  • [ ] New Provider

CeebDev avatar Jan 14 '25 12:01 CeebDev