mirror of
https://github.com/bitwarden/server
synced 2025-12-27 21:53:24 +00:00
Add support for crypto agent (#1623)
This commit is contained in:
@@ -179,6 +179,10 @@ namespace Bit.Identity.Controllers
|
||||
IsPersistent = true,
|
||||
ExpiresUtc = DateTimeOffset.UtcNow.AddMinutes(1)
|
||||
};
|
||||
if (result.Properties != null && result.Properties.Items.TryGetValue("domain_hint", out var organization))
|
||||
{
|
||||
additionalLocalClaims.Add(new Claim("organizationId", organization));
|
||||
}
|
||||
ProcessLoginCallback(result, additionalLocalClaims, localSignInProps);
|
||||
|
||||
// Issue authentication cookie for user
|
||||
|
||||
Reference in New Issue
Block a user