mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-02-12 11:12:44 +00:00
global: move more config to env vars
This commit is contained in:
@@ -72,7 +72,7 @@ namespace Streetwriters.Messenger
|
||||
.AddOAuth2Introspection("introspection", options =>
|
||||
{
|
||||
options.Authority = Servers.IdentityServer.ToString();
|
||||
options.ClientSecret = Environment.GetEnvironmentVariable("NOTESNOOK_API_SECRET");
|
||||
options.ClientSecret = Constants.NOTESNOOK_API_SECRET;
|
||||
options.ClientId = "notesnook";
|
||||
options.SaveToken = true;
|
||||
options.EnableCaching = true;
|
||||
|
||||
Reference in New Issue
Block a user