We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2cc5517 + ed11209 commit 94c8caaCopy full SHA for 94c8caa
apps/OpenSignServer/cloud/customRoute/googleauth.js
@@ -17,7 +17,9 @@ export default async function gooogleauth(request, response) {
17
const clientId = process.env.GOOGLE_CLIENT_ID;
18
const clientSecret = process.env.GOOGLE_CLIENT_SECRET;
19
const redirectUri =
20
- baseUrl?.hostname === 'localhost' ? 'http://localhost:3000' : baseUrl.origin; // Should match the redirect URI used in the authorization request
+ baseUrl?.hostname === 'localhost'
21
+ ? 'http://localhost:3000'
22
+ : 'https://console.opensignlabs.com'; // Should match the redirect URI used in the authorization request
23
const tokenEndpoint = 'https://oauth2.googleapis.com/token';
24
25
const params = new URLSearchParams();
0 commit comments