Align scope used by client and server in blazor wasm template (#24894)

This commit is contained in:
John Luo 2020-08-14 18:25:42 -07:00 committed by GitHub
parent c3a12cefae
commit 7acb96af5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ namespace ComponentsWebAssembly_CSharp.Server.Controllers
private readonly ILogger<WeatherForecastController> _logger;
// The Web API will only accept tokens 1) for users, and 2) having the access_as_user scope for this API
static readonly string[] scopeRequiredByApi = new string[] { "access_as_user" };
static readonly string[] scopeRequiredByApi = new string[] { "api-scope" };
#if (GenerateApi)
private readonly IDownstreamWebApi _downstreamWebApi;