Skip to content

Commit 5414037

Browse files
committed
(DOCSP-12639): [realm-web] Update Google redirect deprecation note
1 parent 4923346 commit 5414037

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

source/web/authenticate.txt

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -532,11 +532,23 @@ to your app.
532532
console.log(`Logged in with id: ${user.id}`);
533533
});
534534

535-
.. admonition:: (Deprecated) Built-In OAuth 2.0 Flow
535+
.. admonition:: Built-In OAuth 2.0 Redirect Limitations for Google
536536
:class: important
537537

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.
540552

541553
.. _web-login-apple:
542554

0 commit comments

Comments
 (0)