Closed Fursum closed 1 year ago
An alternative way to handle redirect would be to send the session token (along with other information) as a query parameter. Im not sure about its security though.
Edit: Now that i looked into it a bit more i think this approach is the better solution. Im not sure if the cookies set on the backend domain will get recognized when making requests from frontend domain.
would be nice to add user information to query
frontend is now under the same domain, cookies are working properly
Redirect does not provide anything to use on frontend to represent auth state.