From ec6240279b638328ab66caadb292f408dba6dc9d Mon Sep 17 00:00:00 2001 From: Uncled1023 Date: Thu, 17 Jan 2019 23:09:02 -0800 Subject: [PATCH] Fixed clients not having access to all the claims they need. --- Teknik/Areas/User/Controllers/UserController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Teknik/Areas/User/Controllers/UserController.cs b/Teknik/Areas/User/Controllers/UserController.cs index 314e825..02a8318 100644 --- a/Teknik/Areas/User/Controllers/UserController.cs +++ b/Teknik/Areas/User/Controllers/UserController.cs @@ -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) {