#No I don't use any library, I have

1 messages · Page 1 of 1 (latest)

lean scroll
#

The userData returned my your authService, are they present in the request headers?

#

Have you looked up the AxiosError message online?

shy lynx
#

userData is return of post request, I return id,roles, email and access token, refreshToken() sends request with cookie that contains token to get new jwt access token

lean scroll
#

hmm.

#

Oww. edge runtime

#

I'm sure there's a way to make this work. I once read an article where the writer moved authjs out of the middleware since is dosn't support edge runtime. If only i can find it

shy lynx
#

thank you I'll try to find something on this topic