I configured my WebApi OAuth 2.0 by these lines:
app.UseOAuthBearerAuthentication(new OAuthBearerAuthenticationOptions { Provider = new OAuth
It should be a bug! Use
app.UseOAuthAuthorizationServer(OAuthOptions);
instead of
app.UseOAuthBearerTokens(OAuthOptions);