Skip to content

Commit a4938d0

Browse files
committed
Merge in 'release/5.0-preview8' changes
2 parents b8e176e + 7acb96a commit a4938d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Server/Controllers/WeatherForecastController.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class WeatherForecastController : ControllerBase
3838
private readonly ILogger<WeatherForecastController> _logger;
3939

4040
// The Web API will only accept tokens 1) for users, and 2) having the access_as_user scope for this API
41-
static readonly string[] scopeRequiredByApi = new string[] { "access_as_user" };
41+
static readonly string[] scopeRequiredByApi = new string[] { "api-scope" };
4242

4343
#if (GenerateApi)
4444
private readonly IDownstreamWebApi _downstreamWebApi;

0 commit comments

Comments
 (0)