firebaseui-web-react
firebaseui-web-react copied to clipboard
Facebook access token
How to get the user access token?
I am looking for this answer too. The Firebase documentation show how to gain the Facebook access token if you are logging in with signInWithPopup. However, this is built into the Firebase UI code.
I wonder if there is a function to get the access token of a signed in user?
I am looking for this answer too. The Firebase documentation shows how to gain the Facebook access token if you are logging in with signInWithPopup. However, this is built into the Firebase UI code.
I wonder if there is a function to get the access token of a signed-in user?
I already figured it out I will share it with you tomorrow. I don't have access to pc now.
@csulit can you share how did you figured it? Thank you for advance
@csulit can you share how did you figured it? Thank you for advance
Keep in mind that it will only be available on the 1st sign-in/login. What I did is I store it on local storage temporarily.
@csulit can you share how did you figured it? Thank you for advance
Keep in mind that it will only be available on the 1st sign-in/login. What I did is I store it on local storage temporarily.
Thank you so much. Is it safe if we store an access token in localstorage since it is can be read just by inspect the browser?
I actually used localstorage to store the access token temporarily. This is just my test to check if I'm getting the token.
Keep in mind that it will only be available on the 1st sign-in/login. What I did is I store it on local storage temporarily.