boraarslan / mapper-influence

0 stars 0 forks source link

Cookies are not being set after auth redirect #51

Closed Fursum closed 1 year ago

Fursum commented 1 year ago

Redirect does not provide anything to use on frontend to represent auth state.

Fursum commented 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.

112batuhan commented 1 year ago

52

Fursum commented 1 year ago

would be nice to add user information to query

Fursum commented 1 year ago

frontend is now under the same domain, cookies are working properly