aboutsummaryrefslogtreecommitdiff
path: root/server/auth/testprovider/testprovider.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/auth/testprovider/testprovider.go')
-rw-r--r--server/auth/testprovider/testprovider.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/server/auth/testprovider/testprovider.go b/server/auth/testprovider/testprovider.go
index e30b04a..f785081 100644
--- a/server/auth/testprovider/testprovider.go
+++ b/server/auth/testprovider/testprovider.go
@@ -38,10 +38,8 @@ func (c *Config) Revoke(token *oauth2.Token) error {
}
// StartSession retrieves an authentication endpoint.
-func (c *Config) StartSession(state string) *auth.Session {
- return &auth.Session{
- AuthURL: "https://www.example.com/auth",
- }
+func (c *Config) StartSession(state string) string {
+ return "https://www.example.com/auth"
}
// Exchange authorizes the session and returns an access token.