File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -532,11 +532,23 @@ to your app.
532
532
console.log(`Logged in with id: ${user.id}`);
533
533
});
534
534
535
- .. admonition:: (Deprecated) Built-In OAuth 2.0 Flow
535
+ .. admonition:: Built-In OAuth 2.0 Redirect Limitations for Google
536
536
:class: important
537
537
538
- The Realm Web SDK no longer includes built-in methods to handle the OAuth 2.0
539
- process. Instead, use the official Google SDK as described above.
538
+ The Realm Web SDK includes a built-in process to handle OAuth 2.0 redirect
539
+ flows. The process opens a new window where the user authorizes your app and
540
+ then redirects to URL that you provide, which allows you to get an access
541
+ token and finish logging the user in.
542
+
543
+ Due to changes in OAuth application verification requirements, the built-in
544
+ process faces limitations when authenticating :ref:`Google
545
+ <google-authentication>` users. If you use the Google login redirect flow
546
+ using Realm's redirect flow, a maximum of 100 Google users may authenticate
547
+ while the app is in development/testing/staging and all users will see an
548
+ unverified application notification before they authenticate.
549
+
550
+ To avoid these limitations, we advise that you use the official Google SDK to
551
+ get a user access token as described above.
540
552
541
553
.. _web-login-apple:
542
554
You can’t perform that action at this time.
0 commit comments