Background
Every time a user tries to authorize using Google social connection, we want to allow the user to pick from all Google accounts he has.
Problem
This answer explains that if we use auth.params: { prompt: 'select_account'}
the user can always pick his desired Google account. However, a subsequent call to a callback URL replaces expires_at
with expires_in
for all connections (database and social ones too). This an example of a callback: /callback#access_token=…&expires_in=7200
I know we can calculate expires_at from expires_in according to this doc.
Question
How can we forse expires_at
with auth.params: { prompt: 'select_account'}
?