Hi, do you have any plans to return not only the access_token but also the refresh_token when logging the user in via the external module? The refresh_token allows the access_token to be refreshed when it expires in one hour.
Right now, the @user_hash being returned looks like this (I'm using Google as the provider), and the refresh_token is nil.
{:token=>"<long string>", :refresh_token=>nil, :expires_at=> <integer>, :expires_in=> <integer>, :user_info=>{"id"=>"<numbers>", "email"=>"[email protected]", "verified_email"=>true, "name"=>"<full name>", "given_name"=>"<first name>", "family_name"=>"<last name>", "picture"=>"<jpg url>", "locale"=>"ja", "hd"=>"<domain>"}, :uid=>"<numbers>"}