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
I have the following errors when i compile my go app.
../github.com/gin-gonic/gin/context.go:778:91: error: reference to undefined identifier ‘http.SameSite’
func (c *Context) SetCookie(name, value string, maxAge int, path, domain string, sameSite http.SameSite, secure, httpOnly bool) {
^
../github.com/gin-gonic/gin/context.go:788:3: error: unknown field ‘SameSite’ in ‘http.Cookie’
SameSite: sameSite,
^
I know that this issue can be solved if we add http.SameSiteLaxMode, but I use docker environment and then I would prefer to not modify the gin-jwt sources.
If you can help me, thanks.
The text was updated successfully, but these errors were encountered:
Hi,
I have the following errors when i compile my go app.
I know that this issue can be solved if we add http.SameSiteLaxMode, but I use docker environment and then I would prefer to not modify the gin-jwt sources.
If you can help me, thanks.
The text was updated successfully, but these errors were encountered: