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
Is there any way for me to embed a cookie in the OAuth redirect response? I'm specifically looking at the code that sends the response here.
I'm aware this may not be best practice from an OAuth flow point of view. However, I really do need to get the token into a Cookie in the response for a NextJS front-end to be able to correctly gain access to the JWT server side.
I was directed to the Feathers documentation on how to do SSR. This may work, but I'm not sure how to get the session information into the response from the OAuth redirect.
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
-
Hey all,
Is there any way for me to embed a cookie in the OAuth redirect response? I'm specifically looking at the code that sends the response here.
I'm aware this may not be best practice from an OAuth flow point of view. However, I really do need to get the token into a Cookie in the response for a NextJS front-end to be able to correctly gain access to the JWT server side.
I was directed to the Feathers documentation on how to do SSR. This may work, but I'm not sure how to get the session information into the response from the OAuth redirect.
Beta Was this translation helpful? Give feedback.
All reactions