File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -292,10 +292,10 @@ require you to install a Google SDK. The built-in flow follows three main steps:
292
292
293
293
const authButton = document.getElementById("google-auth");
294
294
authButton.addEventListener("click", () => {
295
- // The redirect URI should be on the same domain as this app and
295
+ // The redirect URL should be on the same domain as this app and
296
296
// specified in the auth provider configuration.
297
- const redirectUri = "http://yourDomain/auth.html";
298
- const credentials = Realm.Credentials.google(redirectUri );
297
+ const redirectUrl = "http://yourDomain/auth.html";
298
+ const credentials = Realm.Credentials.google({ redirectUrl } );
299
299
// Calling logIn() opens a Google authentication screen in a new window.
300
300
app
301
301
.logIn(credentials)
You can’t perform that action at this time.
0 commit comments