Browse Source

Fixed clients not having access to all the claims they need.

tags/3.0.0^2
Teknikode 1 year ago
parent
commit
ec6240279b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Teknik/Areas/User/Controllers/UserController.cs

+ 1
- 1
Teknik/Areas/User/Controllers/UserController.cs View File

@@ -1202,7 +1202,7 @@ namespace Teknik.Areas.Users.Controllers
try
{
// Validate the code with the identity server
var result = await IdentityHelper.CreateClient(_config, User.Identity.Name, name, redirectUri, logoutUri, "openid", "teknik-api.read", "teknik-api.write");
var result = await IdentityHelper.CreateClient(_config, User.Identity.Name, name, redirectUri, logoutUri, "openid", "role", "account-info", "security-info", "teknik-api.read", "teknik-api.write");

if (result.Success)
{

Loading…
Cancel
Save