Giter Site home page Giter Site logo

Comments (5)

WolfgangSenff avatar WolfgangSenff commented on July 26, 2024

If you can show me where in the Firebase REST API that that exists, I can try to implement it, but for some reason I'm not seeing it anywhere myself.

from godotfirebase.

GorgWorgington avatar GorgWorgington commented on July 26, 2024

My understanding is that it is part of the process for getting an access token from the Oauth providers, so it isn't part of Firebase's API but part of Google's/Facebook's/etc. Oauth APIs

from godotfirebase.

WolfgangSenff avatar WolfgangSenff commented on July 26, 2024

I don't believe we do anything with those. I believe we rely on the Firebase API to provide everything, outside of possibly a callback thing. That said, I'm 99% sure we can't fix this on our side. I'll try to check tomorrow, but can't promise anything.

from godotfirebase.

GorgWorgington avatar GorgWorgington commented on July 26, 2024

Here is Google's documentation on the matter.
Calls to these endpoints are made in auth.gd in get_auth_with_redirect() and exchange_token() .

Note that Google seems to require the client_secret to be included in the "exchange token" step even when using PKCE but it seems to not technically be a secret in this case (see here).

from godotfirebase.

WolfgangSenff avatar WolfgangSenff commented on July 26, 2024

It seems like they are saying it's "okay" for that to not be secret. I'm a bit surprised by that, but am not an expert on OAuth in any way. :P Have you tried it by just not having a value for the client secret - include it in the config as a key/value pair, but not have any value in the value? My thinking is that, if it's truly not needed, Google won't choke on it when the request is sent. But I'm not sure I'm reading the first thing correctly, especially because it doesn't appear to show up anywhere in the actual Firebase documentation, afaict.

from godotfirebase.

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.