lib/bootic_client/strategies/authorized.rb in bootic_client-0.0.11 vs lib/bootic_client/strategies/authorized.rb in bootic_client-0.0.12
- old
+ new
@@ -19,17 +19,18 @@
access_token = auth.assertion.get_token(
hmac_secret: config.client_secret,
iss: config.client_id,
prn: client.options[:access_token],
aud: 'api',
- exp: exp
+ exp: exp,
+ scope: ''
)
access_token.token
end
def auth
- @auth ||= OAuth2::Client.new(nil, nil, site: config.auth_host)
+ @auth ||= OAuth2::Client.new('', '', site: config.auth_host)
end
end
end