Giter VIP home page Giter VIP logo

Comments (7)

gbittmann avatar gbittmann commented on June 10, 2024 1

I think he might be asking what I'm about to ask.

Can you validate a JWT token from the javascript client with this project? People who were using gitkit for authentication are now going to be using Firebase authentication so this should come up a lot.

Basically a php variation of the functionality provided currently in the Java and Node SDKs.

https://firebase.google.com/docs/auth/server#verify_id_tokens

String idToken;  // Get the user's ID token from the client app

FirebaseAuth.getInstance().verifyIdToken(idToken)
    .addOnSuccessListener(new OnSuccessListener<FirebaseToken>() {
        @Override
        public void onSuccess(FirebaseToken decodedToken) {
          String uid = decodedToken.getUid();
          // ...
        }
});

from firebase-php.

alexsup avatar alexsup commented on June 10, 2024

Can you expand on what you mean by user authentication data?

This client is for basic Firebase interactions. There are a number of pull requests to improve this but this repo isn't maintained.

from firebase-php.

ktamas77 avatar ktamas77 commented on June 10, 2024

@francesco98 could you please elaborate?

from firebase-php.

tiagojlara avatar tiagojlara commented on June 10, 2024

+1

from firebase-php.

jonmalave avatar jonmalave commented on June 10, 2024

Any plans to add user authentication?

from firebase-php.

ruudboon avatar ruudboon commented on June 10, 2024

+1

from firebase-php.

gusdevops avatar gusdevops commented on June 10, 2024

+1

from firebase-php.

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.