Skip to content

Commit 2ff246b

Browse files
authored
docs: crosslink web sections (#87)
1 parent 7ec1a0c commit 2ff246b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/setting-up/web.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,7 @@ After the script is loaded, you can call the functions for signing in and render
6868
If you call any of the module functions before the client library is loaded, such calls trigger the [`onError` callback](/docs/api#webonetapsignincallbacks) with the [`PLAY_SERVICES_NOT_AVAILABLE` error code](../errors#status-codes).
6969

7070
You can read the official docs for loading the Client Library [here](https://developers.google.com/identity/gsi/web/guides/client-library).
71+
72+
## Usage
73+
74+
See [here](../web-support#usage).

docs/web-support.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ On the web, the `signIn` and `createAccount` functions are not `Promise`-based b
2020
The reason for callback-based apis rather than promise-based is that it's possible to get into an "error" state (when one-tap is not available) and later get a successful sign in from the button flow. Because of how the Google Sign In for web SDK is done, modeling this with a promise-based api is not possible.
2121
:::
2222

23+
## Setup
24+
25+
See [here](setting-up/web).
26+
2327
## Usage
2428

2529
To implement web support, follow these two steps:

0 commit comments

Comments
 (0)