mirror of
https://github.com/ditkrg/AuthorizationServerDemos.git
synced 2026-01-22 23:46:54 +00:00
Merge branch 'master' of https://github.com/ditdevtools/AuthorizationServerDemos
This commit is contained in:
commit
07e31bed41
@ -147,7 +147,7 @@ namespace IdentityServerHost.Quickstart.UI
|
|||||||
// issue authentication cookie with subject ID and username
|
// issue authentication cookie with subject ID and username
|
||||||
var isuser = new IdentityServerUser(user.SubjectId)
|
var isuser = new IdentityServerUser(user.SubjectId)
|
||||||
{
|
{
|
||||||
DisplayName = user.Username
|
DisplayName = user.Claims.First(c => c.Type == JwtClaimTypes.Name).Value
|
||||||
};
|
};
|
||||||
|
|
||||||
await HttpContext.SignInAsync(isuser, props);
|
await HttpContext.SignInAsync(isuser, props);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user