Created
November 15, 2022 05:50
-
-
Save satish860/5a56c0e9eca6b66fb639e156edff8f48 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
builder.Services.AddIdentityServer(options => | |
{ | |
// https://docs.duendesoftware.com/identityserver/v6/fundamentals/resources/api_scopes#authorization-based-on-scopes | |
options.EmitStaticAudienceClaim = true; | |
}) | |
.AddInMemoryIdentityResources(Config.IdentityResources) | |
.AddInMemoryApiScopes(Config.ApiScopes) | |
.AddInMemoryClients(Config.Clients) | |
.AddTestUsers(TestUsers.Users); // Just add the user here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment