refactor: explicit token URL

This commit is contained in:
Shivam Mishra
2024-06-03 12:19:35 +05:30
parent e6185536a8
commit e54d426577
+1 -1
View File
@@ -8,7 +8,7 @@ module GoogleConcern
::OAuth2::Client.new(app_id, app_secret, {
site: 'https://oauth2.googleapis.com',
authorize_url: 'https://accounts.google.com/o/oauth2/auth',
token_url: '/token'
token_url: 'https://accounts.google.com/o/oauth2/token'
})
end