how to set cookie after verifiying one-time-token.
hi, i have another desktop client (electron) that authenticates with my remix/react-router v7 server. (this is working fine) With the one-time-token, I am trying to redirect users to my website (frontend of the remix/react-router) so that they can upgrade their plan but they need to be logged on the website.
The one-time-token is correctly being verified on redirect, but it doesn't set the cookie on the website correctly. I tried to modify the response headers but the token that is being returned from the one-time-token/verify is not the full token. It's only the first part of it
anyone know a way around this to get the full token? I am trying to use an
after hook to ctx.setNewSession but that is not workign either for me.
0 Replies