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:
parent
2527c8accc
commit
ec6240279b
@ -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…
Reference in New Issue
Block a user