Skip to content

Commit 498cf95

Browse files
authored
docs: add COOP hint (#382)
1 parent 5c5ab23 commit 498cf95

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ import { GoogleLogin } from '@react-oauth/google';
7373
/>;
7474
```
7575

76+
> If you are using popup mode (default), set the proper [Cross Origin Opener Policy](https://developers.google.com/identity/gsi/web/guides/get-google-api-clientid#cross_origin_opener_policy) to avoid the [blank window issue](https://github.com/google/google-api-javascript-client/issues/796): `cross-origin-opener-policy: same-origin-allow-popups`.
77+
7678
### One-tap
7779

7880
```jsx

0 commit comments

Comments
 (0)