fix: Refactor to use filesystem storage instead of cookies
This commit is contained in:
parent
d946069f6a
commit
aceb53efe9
@ -28,7 +28,7 @@ var config = oauth2.Config{
|
||||
Scopes: []string{"email", "openid", "profile", "user.read"},
|
||||
}
|
||||
|
||||
var sessionStore = sessions.NewCookieStore([]byte("xDDBjhYwyndZty3exGNq2ahE8wHRCR4DfdCJCSoWXAYncfWw2UQDH63QcJ9CkrGx"))
|
||||
var sessionStore = sessions.NewFilesystemStore("", []byte("xDDBjhYwyndZty3exGNq2ahE8wHRCR4DfdCJCSoWXAYncfWw2UQDH63QcJ9CkrGx"))
|
||||
|
||||
func init() {
|
||||
// Register the oauth2.Token type with gob
|
||||
|
Loading…
Reference in New Issue
Block a user