From 748ae6cf5a681588ca370a92c1a0e42a987d79d5 Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Wed, 18 May 2016 22:39:27 +0100 Subject: Don't use jwt, it doesn't buy a whole lot for this application --- server/config/config.go | 1 - server/config/config_test.go | 1 - 2 files changed, 2 deletions(-) (limited to 'server/config') diff --git a/server/config/config.go b/server/config/config.go index 3d12665..bf5bfc7 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -39,7 +39,6 @@ type Auth struct { OauthCallbackURL string `mapstructure:"oauth_callback_url"` Provider string `mapstructure:"provider"` ProviderOpts map[string]string `mapstructure:"provider_opts"` - JWTSigningKey string `mapstructure:"jwt_signing_key"` } // SSH holds the configuration specific to signing ssh keys. diff --git a/server/config/config_test.go b/server/config/config_test.go index f97961a..067b0dc 100644 --- a/server/config/config_test.go +++ b/server/config/config_test.go @@ -37,7 +37,6 @@ func TestAuthConfig(t *testing.T) { a.Equal(auth.OauthClientID, "client_id") a.Equal(auth.OauthClientSecret, "secret") a.Equal(auth.OauthCallbackURL, "https://sshca.example.com/auth/callback") - a.Equal(auth.JWTSigningKey, "supersecret") } func TestSSHConfig(t *testing.T) { -- cgit v1.2.3