mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
set secret for dev
This commit is contained in:
parent
57ebe0de1a
commit
b6696df055
@ -87,7 +87,7 @@ namespace Bit.Core.IdentityServer
|
|||||||
{
|
{
|
||||||
ClientId = $"organization.{org.Id}",
|
ClientId = $"organization.{org.Id}",
|
||||||
RequireClientSecret = true,
|
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" },
|
AllowedScopes = new string[] { "api.organization" },
|
||||||
AllowedGrantTypes = GrantTypes.ClientCredentials,
|
AllowedGrantTypes = GrantTypes.ClientCredentials,
|
||||||
AccessTokenLifetime = 3600 * 1,
|
AccessTokenLifetime = 3600 * 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user