hosts/library: enable API keys for open-webui
Some checks failed
Check flake / build-amd64-linux (push) Failing after 1s
Some checks failed
Check flake / build-amd64-linux (push) Failing after 1s
This commit is contained in:
@@ -24,6 +24,7 @@ in
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
WEBUI_URL = publicUrl;
|
WEBUI_URL = publicUrl;
|
||||||
|
ENABLE_API_KEYS = "True";
|
||||||
ENABLE_LOGIN_FORM = "False";
|
ENABLE_LOGIN_FORM = "False";
|
||||||
ENABLE_OAUTH_SIGNUP = "True";
|
ENABLE_OAUTH_SIGNUP = "True";
|
||||||
ENABLE_OAUTH_ROLE_MANAGEMENT = "True";
|
ENABLE_OAUTH_ROLE_MANAGEMENT = "True";
|
||||||
@@ -33,6 +34,7 @@ in
|
|||||||
OPENID_PROVIDER_URL = "https://auth.vimium.com/oauth2/openid/${clientId}/.well-known/openid-configuration";
|
OPENID_PROVIDER_URL = "https://auth.vimium.com/oauth2/openid/${clientId}/.well-known/openid-configuration";
|
||||||
OPENID_REDIRECT_URI = "${publicUrl}/oauth/oidc/callback";
|
OPENID_REDIRECT_URI = "${publicUrl}/oauth/oidc/callback";
|
||||||
CORS_ALLOW_ORIGIN = "*";
|
CORS_ALLOW_ORIGIN = "*";
|
||||||
|
USER_PERMISSIONS_FEATURES_API_KEYS = "True";
|
||||||
|
|
||||||
# Fix from https://github.com/NixOS/nixpkgs/pull/431395
|
# Fix from https://github.com/NixOS/nixpkgs/pull/431395
|
||||||
STATIC_DIR = "${stateDir}/static";
|
STATIC_DIR = "${stateDir}/static";
|
||||||
|
|||||||
Reference in New Issue
Block a user