1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00

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

This commit is contained in:
Uncled1023 2019-01-17 23:09:02 -08:00
parent 2527c8accc
commit ec6240279b

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)
{