Code Monkey home page Code Monkey logo

Comments (3)

MomenSherif avatar MomenSherif commented on May 20, 2024

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.

gusaiani avatar gusaiani commented on May 20, 2024

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.

MomenSherif avatar MomenSherif commented on May 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.