Comments (3)
Hello @gusaiani,
I know it seems weird, as localhost with port should be enough, and adding extra localhost seems to be redundant.
But it is google's recommendation for local tests or development.
you can find it in setup step 2 https://developers.google.com/identity/gsi/web/guides/get-google-api-clientid
I would recommend following them, If you want to give it a try add only the one with port and try if it's working or not.
from react-oauth.
Thank you @MomenSherif.
It does not work in our tests without the portless domain, if we use a declared port.
Grateful to get the reference link above from you.
Likely we will add it to the instructions for our own users.
from react-oauth.
If it's a normal domain you can just add it without any ports like this https://test-oauth-rust.vercel.app/
If it has a subdomain and it's not working, for this reason, you can check the props some of them related to subdomain stuff.
for localhost, I didn't know that you can run it without specifying a port 😅, But I think it will have a default port we can use it
from react-oauth.
Related Issues (20)
- When Can we Expect Fed CM Migration HOT 5
- About displaying user information HOT 1
- Can the maxWidth for the GoogleLogin button be made configurable? HOT 1
- Implicit flow with useGoogleLogin hook
- useGoogleLogin returns incorrecte scopes (?)
- GoogleLogin Button does not load on Safari Mobile. Major issue. HOT 4
- useGoogleLogin no success no error , no response HOT 9
- GoogleOAuthProvider not recognizing clientId coming from .env file HOT 2
- Not asking for users permission for sensitive scopes, despite adding sensitive scopes in google console HOT 1
- NextJS 14 | Error: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a function HOT 2
- Environment vartiables in client ID error
- Issue with Google OAuth Login - Works Locally, Fails on Domain Server HOT 1
- Does not work with react version 18.2.0 HOT 2
- GoogleLogin refresh jwt after expiration
- The dark theme is terrible HOT 7
- useGoogleLogin | no success, error or response for google child profile HOT 4
- Not able to select google account from prompt HOT 1
- Page refresh removes access_token from gapi api calls. HOT 1
- Cross-Origin-Opener-Policy policy would block the window.closed call. HOT 3
- Add One-tap signin prop in useGoogleLogin (Custom btn)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-oauth.