From 92ff5a5b02e5d034a5d7dde7f1898ff543257b1c Mon Sep 17 00:00:00 2001 From: Raajheer1 Date: Fri, 24 May 2024 13:59:08 -0500 Subject: [PATCH] update URIs --- pkg/oauth/oauth.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/oauth/oauth.go b/pkg/oauth/oauth.go index 018c891..38b0352 100644 --- a/pkg/oauth/oauth.go +++ b/pkg/oauth/oauth.go @@ -12,8 +12,8 @@ func Initialize(config *config.Config) *oauth2.Config { ClientID: config.OAuth.ClientID, ClientSecret: config.OAuth.ClientSecret, Endpoint: oauth2.Endpoint{ - AuthURL: config.OAuth.BaseURL + "/authorize", - TokenURL: config.OAuth.BaseURL + "/token", + AuthURL: config.OAuth.BaseURL + "/oauth/authorize", + TokenURL: config.OAuth.BaseURL + "/oauth/token", }, RedirectURL: config.API.BaseURL + "/v3/user/login/callback", Scopes: []string{"identify", "email"},