aboutsummaryrefslogtreecommitdiff
path: root/server/config
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2016-05-18 22:39:27 +0100
committerNiall Sheridan <nsheridan@gmail.com>2016-05-18 22:39:27 +0100
commit748ae6cf5a681588ca370a92c1a0e42a987d79d5 (patch)
tree82bcaee6ab6194f7e99fee1d77d571eaa4b84ddc /server/config
parent47e702ab1d0c1b92b76663ba027c7c20122efab7 (diff)
Don't use jwt, it doesn't buy a whole lot for this application
Diffstat (limited to 'server/config')
-rw-r--r--server/config/config.go1
-rw-r--r--server/config/config_test.go1
2 files changed, 0 insertions, 2 deletions
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) {