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.
1 parent 04ca9b6 commit 777825bCopy full SHA for 777825b
web/lib/firebase/users.ts
@@ -58,15 +58,15 @@ export function writeReferralInfo(
58
*/
59
export async function webviewGoogleSignin() {
60
61
- const params = new URLSearchParams({
+ const params = {
62
client_id: GOOGLE_CLIENT_ID,
63
redirect_uri: REDIRECT_URI,
64
response_type: 'code',
65
scope: 'openid email profile',
66
- });
+ }
67
console.log('params', params)
68
69
- window.open(`https://accounts.google.com/o/oauth2/v2/auth?${params}`, '_system');
+ window.open(`https://accounts.google.com/o/oauth2/v2/auth?${new URLSearchParams(params)}`, '_system');
70
}
71
72
export async function firebaseLogin() {
0 commit comments