fix: minor fixes for the frontend
This commit is contained in:
parent
3f3cc5c484
commit
5d1d138aca
3 changed files with 7 additions and 5 deletions
|
|
@ -135,7 +135,7 @@ func (s Server) PostSignIn(ctx context.Context, req auth.PostSignInRequestObject
|
|||
ginCtx.SetSameSite(http.SameSiteStrictMode)
|
||||
ginCtx.SetCookie("access_token", accessToken, 900, "/api", "", false, true)
|
||||
ginCtx.SetCookie("refresh_token", refreshToken, 1209600, "/auth", "", false, true)
|
||||
ginCtx.SetCookie("xsrf_token", csrfToken, 1209600, "/api", "", false, false)
|
||||
ginCtx.SetCookie("xsrf_token", csrfToken, 1209600, "/", "", false, false)
|
||||
|
||||
result := auth.PostSignIn200JSONResponse{
|
||||
UserId: user.ID,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue