You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a Auth (nee Next Auth) in a Next.js application. If I look at the request headers for a request for a signed in user, there is a Cookie key with a value starting with authjs.session-token=. In Bruno, if I create a header key of Cookie and paste in the value from the signed in session, my request works. Obviously, this is not scalable.
Does anyone know of a way to get this authjs.session-token directly from Bruno? I am using Google OATH2 in this case, but what I really need is a way for Bruno to get the token regardless of the sign in method.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using a Auth (nee Next Auth) in a Next.js application. If I look at the request headers for a request for a signed in user, there is a
Cookie
key with a value starting withauthjs.session-token=
. In Bruno, if I create a header key ofCookie
and paste in the value from the signed in session, my request works. Obviously, this is not scalable.Does anyone know of a way to get this
authjs.session-token
directly from Bruno? I am using Google OATH2 in this case, but what I really need is a way for Bruno to get the token regardless of the sign in method.Any help will be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions