My unit tests for my API endpoints that checks for authentication via Gorilla Sessions fail when using the latest version of the App Engine SDK. i.e.
// app.go
session, _ := store.Get(req, "login")
_, has := session.Values["userID"] //value is set in app_test.go
// has == false for v1.9.62 onwards, has == true for 1.9.57 and earlier
When I switch back to either 1.9.54 or 1.9.57, the tests pass. Nothing was changed in the source code, only the version of the SDK.
I'm using App Engine SDK version 1.9.63 (the App Engine SDK, not the Cloud SDK) with Gorilla Sessions (latest version).
Does anyone has any knowledge about version 1.9.6x of the App Engine SDK breaking Gorilla Sessions?
P.S. Although the download page says the version 1.9.61 (and the downloaded zip file says likewise as well), when running the SDK, it reports as 1.9.63.
$ goapp version go version 1.8.3 (appengine-1.9.63) linux/amd64