cloudfoundry-attic / cf-abacus

CF usage metering and aggregation
Apache License 2.0
98 stars 86 forks source link

Stubs are being invoked with a subset of the scopes #144

Open sinduri opened 9 years ago

sinduri commented 9 years ago

When abacus is invoking the AccountManagement stub/ Provisioning stub, the oauth token being passed has just the "abacus.usage.read, abacus.usage.write" scopes, though the client_id is configured with other scopes like IBMBSS, service

But if the downstream components are looking for a different scope(which they should have already), the call would fail. For ex. provisioning might be looking for uaa.resource

So, abacus should not filter out the scopes when calling the stub components.

cf-gitbot commented 9 years ago

We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/107248594.