diff --git a/lib/auth0/mixins/access_token_struct.rb b/lib/auth0/mixins/access_token_struct.rb index 1d52eb4f..85d10baf 100644 --- a/lib/auth0/mixins/access_token_struct.rb +++ b/lib/auth0/mixins/access_token_struct.rb @@ -2,7 +2,8 @@ :access_token, :expires_in, :refresh_token, - :id_token + :id_token, + :authorization_details ) do def self.from_response(response) @@ -10,7 +11,8 @@ def self.from_response(response) response['access_token'], response['expires_in'], response['refresh_token'], - response['id_token'] + response['id_token'], + response['authorization_details'] ) end