I would like to be able to provide expires_at or expires_in along with access_token and have it get passed through to the OAuth2::AccessToken. Otherwise after signup or login, request.env["omniauth.auth"].credentials.expires_at is always nil.
I'm using the Facebook mobile SDK and the Cordova Facebook Plugin. When my app gets called back by the Facebook mobile SDK, both accessToken, expiresAt, and expirationTime are available. I can pass access_token along, but expiresAt/expirationTime currently get lost.
I would like to be able to provide
expires_at
orexpires_in
along withaccess_token
and have it get passed through to theOAuth2::AccessToken
. Otherwise after signup or login,request.env["omniauth.auth"].credentials.expires_at
is always nil.I'm using the Facebook mobile SDK and the Cordova Facebook Plugin. When my app gets called back by the Facebook mobile SDK, both accessToken, expiresAt, and expirationTime are available. I can pass access_token along, but expiresAt/expirationTime currently get lost.