aboutsummaryrefslogtreecommitdiff
path: root/server/auth/google/google.go
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2016-06-06 00:31:15 +0100
committerNiall Sheridan <nsheridan@gmail.com>2016-06-06 00:31:15 +0100
commitf456753248612222ad9bb6f3de74b7e28771470e (patch)
treecded438fa95419b615ac5c0aeb98e9c3f0dba7dc /server/auth/google/google.go
parenta52d19e9e78d08643ffd4aee0483515d8bae2939 (diff)
Save oauth 'state' identifier in the client
Diffstat (limited to 'server/auth/google/google.go')
-rw-r--r--server/auth/google/google.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/auth/google/google.go b/server/auth/google/google.go
index 7c9b930..e2c6724 100644
--- a/server/auth/google/google.go
+++ b/server/auth/google/google.go
@@ -90,7 +90,6 @@ func (c *Config) Revoke(token *oauth2.Token) error {
func (c *Config) StartSession(state string) *auth.Session {
return &auth.Session{
AuthURL: c.config.AuthCodeURL(state, oauth2.SetAuthURLParam("hd", c.domain)),
- State: state,
}
}