I'm having an issue while trying to run both the consoleapiclient and the public site.
The clientapi app runs and I get a token, but the subsequent call to
await GetUsersListAsync(accessToken);
returns an "unauthorized"
The appsettings.json file on the server has this definition for the client:
{
"ClientId": "client",
"AllowedGrantTypes": [
"password"
],
"ClientSecrets": [
{
"Value": "def2edf7-5d42-4edc-a84a-30136c340e13"
}
],
"AllowedScopes": [
"default-api",
"openid"
]
},
Any help on what I might be doing wrong?