Nicholas Ng
Nicholas Ng

Reputation: 143

Omniauth with facebook tokken

i got a question that I' using omniauth to authenticate my user to facebook. I get their access token through gem 'omniauth-facebook' and save it in the dabatase, i want to ask that is that the access token i request always valid ? because currenly i dont face any token expire , any solution toward this?

Upvotes: 0

Views: 151

Answers (1)

x1a4
x1a4

Reputation: 19485

For now you'll be fine, but after July 5 you'll have to deal with expiring tokens. This probably means dealing with the expired token error FB sends back, and interrupting the user experience on your site to get their re-approval for a new token.

Upvotes: 1

Related Questions