Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS Facebook Login Access Token refresh

I am getting the following error when I try to login to my app using the facebook login:

The access token is invalid since the user hasn't engaged the app in longer than 90 days.

I understand that facebook will require re-authentication after 90 days where they describe:

Between April 9–21, 2018, tokens for users who have not actively logged into your app and granted consent to permissions in the last 90 days will expire. To refresh these user tokens, you must send people through the login process, and they must renew consent by clicking the Continue button. Renewal of consent is now required every 90 days.

I would imagine that by sending the user back to the login process they would click continue on the permissions and a new access token would be issued, but this doesn't seem to be the case, I keep getting the error as above.

Is there a way of re-authenticating the user which I am missing?

like image 332
MattBlack Avatar asked May 02 '18 11:05

MattBlack


People also ask

Does Facebook use refresh token?

Facebook does not provide a refresh token. Facebook provides two kinds of access tokens, Short lived access token: A token that is expired after a short period of time (about 2 hours). Short lived access tokens are usually used on web clients.


1 Answers

EDIT 4/05/2018

Facebook have fix it.

facebook responses:

Thanks for getting in touch. This is actually a known issue that we are already tracking in another bug report.

I'm going to merge your report with the existing one, so we can deal with the issue in one place. Please refer to this thread for updates: http://developers.facebook.com/bugs/194772814474841/

Hope we'll get an update from FB today.

like image 143
Max Avatar answered Oct 11 '22 10:10

Max



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!