mirror of
https://github.com/bitwarden/server.git
synced 2025-01-10 20:07:56 +01:00
Email length in IdSv4 config needed to be 256 (#1255)
This commit is contained in:
parent
10d9e6c687
commit
1b8b9b7539
@ -62,6 +62,7 @@ namespace Bit.Sso.Utilities
|
||||
options.UserInteraction.ErrorUrl = "/Error";
|
||||
options.UserInteraction.ErrorIdParameter = "errorId";
|
||||
}
|
||||
options.InputLengthRestrictions.UserName = 256;
|
||||
})
|
||||
.AddInMemoryCaching()
|
||||
.AddInMemoryClients(new List<Client>
|
||||
|
@ -36,6 +36,7 @@ namespace Bit.Identity.Utilities
|
||||
{
|
||||
options.Authentication.CookieSameSiteMode = Microsoft.AspNetCore.Http.SameSiteMode.Unspecified;
|
||||
}
|
||||
options.InputLengthRestrictions.UserName = 256;
|
||||
})
|
||||
.AddInMemoryCaching()
|
||||
.AddInMemoryApiResources(ApiResources.GetApiResources())
|
||||
|
Loading…
Reference in New Issue
Block a user