OAuth2::AccessToken.from_hash: `hash` contained more than one 'token' key warning
Created by: Adnilson
Hi,
We upgraded omniauth-auth0
to version 3.0.0 in our Rails app and the following warning is on our logs all the time in all of our environments:
OAuth2::AccessToken.from_hash: `hash` contained more than one 'token' key (["access_token", "id_token"]); using "access_token"
From what I saw on this change on PR 624.
We haven't changed anything in our app besides upgrading the gems associated as well (omniauth and omniauth-rails_csrf_protection) to their latest version.
Is there a way to solve this or circumvent?
EDIT: mind you that the id_token
will be passed regardless: https://github.com/auth0/omniauth-auth0/blob/master/lib/omniauth/strategies/auth0.rb#L47
Edited by Peter Boling