> +      
> bind(HttpErrorHandler.class).annotatedWith(ServerError.class).to(AzureComputeErrorHandler.class);
> +   }
> +
> +   @Override
> +   protected void installLocations() {
> +      super.installLocations();
> +      bind(ImplicitLocationSupplier.class).
> +              to(OnlyLocationOrFirstRegionOptionallyMatchingRegionId.class).
> +              in(Scopes.SINGLETON);
> +   }
> +
> +   @Override
> +   protected void configure() {
> +      install(new AzureComputeParserModule());
> +      super.configure();
> +      
> bind(OAuthScopes.class).toInstance(OAuthScopes.ReadOrWriteScopes.create("read",
>  "read write"));

After removing that, this is what I'm getting. Looks like it's not optional 
[here](https://github.com/jmspring/jclouds/blob/244ab1e3a89918c80b5a9a2201a5feee525e51cd/apis/oauth/src/main/java/org/jclouds/oauth/v2/filters/JWTBearerTokenFlow.java#L74)?
```
No implementation for org.jclouds.oauth.v2.config.OAuthScopes was bound.
  while locating org.jclouds.oauth.v2.config.OAuthScopes
    for parameter 3 at 
org.jclouds.oauth.v2.filters.JWTBearerTokenFlow.<init>(JWTBearerTokenFlow.java:74)
  at 
org.jclouds.oauth.v2.config.OAuthModule.authenticationFilterForCredentialType(OAuthModule.java:75)
```

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/250/files/8d7d68bf33361d7f5df68c7e7232b03116ed6977#r58723216

Reply via email to