Skip to content

Commit

Permalink
updated the default redirect url for Google Auth
Browse files Browse the repository at this point in the history
  • Loading branch information
bryng001 committed Oct 4, 2024
1 parent 5424b0d commit facd9ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion td.server/src/env/Google.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class GoogleEnv extends Env {
{ key: 'CLIENT_ID', required: false },
{ key: 'CLIENT_SECRET', required: false },
{ key: 'SCOPE', required: false, defaultValue: 'openid email profile' },
{ key: 'REDIRECT_URI', required: false, defaultValue: 'http://localhost:8080/oauth-return' },
{ key: 'REDIRECT_URI', required: false, defaultValue: 'http://localhost:3000/api/oauth/return' },
{ key: 'TOKEN_URL', required: false, defaultValue: 'https://oauth2.googleapis.com/token' },
{ key: 'USER_INFO_URL', required: false, defaultValue: 'https://www.googleapis.com/oauth2/v1/userinfo' }
];
Expand Down

0 comments on commit facd9ec

Please sign in to comment.