mirror of
https://github.com/bitwarden/server
synced 2026-02-20 19:33:32 +00:00
set secret for dev
This commit is contained in:
@@ -87,7 +87,7 @@ namespace Bit.Core.IdentityServer
|
||||
{
|
||||
ClientId = $"organization.{org.Id}",
|
||||
RequireClientSecret = true,
|
||||
ClientSecrets = { new Secret(org.Id.ToString().Sha256()) }, // TODO: org.ApiKey
|
||||
ClientSecrets = { new Secret("secret".Sha256()) }, // TODO: org.ApiKey
|
||||
AllowedScopes = new string[] { "api.organization" },
|
||||
AllowedGrantTypes = GrantTypes.ClientCredentials,
|
||||
AccessTokenLifetime = 3600 * 1,
|
||||
|
||||
Reference in New Issue
Block a user