I spent a good while on this today and haven't figured it out. I have a hobby app where I need to call Spotify Web API and so I need the user ID and my access token, which are stored in the session.
- I tried using
useSessionhook but the linter says that's not possible in aserver$function - I tried using
requestEvent.resolveValuebut the Request Event doesn't seem to be exposed (right?) - I tried grabbing the session token from
authjs.session-tokencookie but that's encrypted and I haven't found any way to decrypt it manually