PhantomAppDevelopment / pizza-app

An Adobe AIR mobile app that uses the Yelp Fusion & Firebase V3 API to create a small social network for pizza lovers.
https://play.google.com/store/apps/details?id=air.im.phantom.pizza
MIT License
15 stars 2 forks source link

I think this app is broken on Android #1

Closed reyco1 closed 7 years ago

reyco1 commented 7 years ago

It may be the same problem that I am having... For some reason, refreshing the oauthAccessToken does not work for me anymore out of nowhere... Are you experiencing this problem?

agentphantom commented 7 years ago

Hi,

I noticed they changed something for the Email auth and I updated the corresponding guide.

I will take a look at this issue, maybe its the same procedure (instead of asking for a new access_token, refresh the provided one).

reyco1 commented 7 years ago

Ok, cool... Please let me know if you discover anything new. Thanks!

reyco1 commented 7 years ago

@agentphantom I haven't been able to crack it man... Any luck?

reyco1 commented 7 years ago

@agentphantom the thing is that we never get a "refreshToken" from the federated login

agentphantom commented 7 years ago

Hi,

I have fixed it in the latest commit and I also have updated the Firebase Federated auth guide with the new instructions.

Basically you only need to add a new parameter returnSecureToken and the response will include a refreshToken that then it's used to get an access_token.