mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-16 19:33:11 +02:00
option to hide google drive and add settings (#5863)
Co-authored-by: EthanHealy01 <[email protected]>
This commit is contained in:
co-authored by
EthanHealy01
parent
cafcee6c99
commit
7d640e9ce6
@@ -7323,3 +7323,204 @@ title = "Team Members"
|
||||
button = "Upgrade to Team"
|
||||
description = "Unlock team collaboration features"
|
||||
title = "Upgrade to Team Plan"
|
||||
|
||||
[provider.oauth2.google]
|
||||
scope = "Sign-in authentication"
|
||||
|
||||
[provider.oauth2.google.clientId]
|
||||
label = "Client ID"
|
||||
description = "The OAuth2 client ID from Google Cloud Console"
|
||||
|
||||
[provider.oauth2.google.clientSecret]
|
||||
label = "Client Secret"
|
||||
description = "The OAuth2 client secret from Google Cloud Console"
|
||||
|
||||
[provider.oauth2.google.scopes]
|
||||
label = "Scopes"
|
||||
description = "Comma-separated OAuth2 scopes"
|
||||
|
||||
[provider.oauth2.google.useAsUsername]
|
||||
label = "Use as Username"
|
||||
description = "Field to use as username (email, name, given_name, family_name)"
|
||||
|
||||
[provider.oauth2.github]
|
||||
scope = "Sign-in authentication"
|
||||
|
||||
[provider.oauth2.github.clientId]
|
||||
label = "Client ID"
|
||||
description = "The OAuth2 client ID from GitHub Developer Settings"
|
||||
|
||||
[provider.oauth2.github.clientSecret]
|
||||
label = "Client Secret"
|
||||
description = "The OAuth2 client secret from GitHub Developer Settings"
|
||||
|
||||
[provider.oauth2.github.scopes]
|
||||
label = "Scopes"
|
||||
description = "Comma-separated OAuth2 scopes"
|
||||
|
||||
[provider.oauth2.github.useAsUsername]
|
||||
label = "Use as Username"
|
||||
description = "Field to use as username (email, login, name)"
|
||||
|
||||
[provider.oauth2.keycloak]
|
||||
scope = "SSO"
|
||||
|
||||
[provider.oauth2.keycloak.issuer]
|
||||
label = "Issuer URL"
|
||||
description = "URL of the Keycloak realm's OpenID Connect Discovery endpoint"
|
||||
|
||||
[provider.oauth2.keycloak.clientId]
|
||||
label = "Client ID"
|
||||
description = "The OAuth2 client ID from Keycloak"
|
||||
|
||||
[provider.oauth2.keycloak.clientSecret]
|
||||
label = "Client Secret"
|
||||
description = "The OAuth2 client secret from Keycloak"
|
||||
|
||||
[provider.oauth2.keycloak.scopes]
|
||||
label = "Scopes"
|
||||
description = "Comma-separated OAuth2 scopes"
|
||||
|
||||
[provider.oauth2.keycloak.useAsUsername]
|
||||
label = "Use as Username"
|
||||
description = "Field to use as username (email, name, given_name, family_name, preferred_username)"
|
||||
|
||||
[provider.oauth2.generic]
|
||||
name = "Generic OAuth2"
|
||||
scope = "SSO"
|
||||
|
||||
[provider.oauth2.generic.enabled]
|
||||
label = "Enable Generic OAuth2"
|
||||
description = "Enable authentication using a custom OAuth2 provider"
|
||||
|
||||
[provider.oauth2.generic.provider]
|
||||
label = "Provider Name"
|
||||
description = "The name of your OAuth2 provider (e.g., Azure AD, Okta)"
|
||||
|
||||
[provider.oauth2.generic.issuer]
|
||||
label = "Issuer URL"
|
||||
description = "Provider that supports OpenID Connect Discovery (/.well-known/openid-configuration)"
|
||||
|
||||
[provider.oauth2.generic.clientId]
|
||||
label = "Client ID"
|
||||
description = "The OAuth2 client ID from your provider"
|
||||
|
||||
[provider.oauth2.generic.clientSecret]
|
||||
label = "Client Secret"
|
||||
description = "The OAuth2 client secret from your provider"
|
||||
|
||||
[provider.oauth2.generic.scopes]
|
||||
label = "Scopes"
|
||||
description = "Comma-separated OAuth2 scopes"
|
||||
|
||||
[provider.oauth2.generic.useAsUsername]
|
||||
label = "Use as Username"
|
||||
description = "Field to use as username"
|
||||
|
||||
[provider.oauth2.generic.autoCreateUser]
|
||||
label = "Auto Create Users"
|
||||
description = "Automatically create user accounts on first OAuth2 login"
|
||||
|
||||
[provider.oauth2.generic.blockRegistration]
|
||||
label = "Block Registration"
|
||||
description = "Prevent new user registration via OAuth2"
|
||||
|
||||
[provider.smtp]
|
||||
name = "SMTP Mail"
|
||||
scope = "Email Notifications"
|
||||
|
||||
[provider.smtp.enabled]
|
||||
label = "Enable Mail"
|
||||
description = "Enable email notifications and SMTP functionality"
|
||||
|
||||
[provider.smtp.host]
|
||||
label = "SMTP Host"
|
||||
description = "The hostname or IP address of your SMTP server"
|
||||
|
||||
[provider.smtp.port]
|
||||
label = "SMTP Port"
|
||||
description = "The port number for SMTP connection (typically 25, 465, or 587)"
|
||||
|
||||
[provider.smtp.username]
|
||||
label = "SMTP Username"
|
||||
description = "Username for SMTP authentication"
|
||||
|
||||
[provider.smtp.password]
|
||||
label = "SMTP Password"
|
||||
description = "Password for SMTP authentication"
|
||||
|
||||
[provider.smtp.from]
|
||||
label = "From Address"
|
||||
description = "The email address to use as the sender"
|
||||
|
||||
[provider.saml2]
|
||||
name = "SAML2"
|
||||
scope = "SSO (SAML)"
|
||||
|
||||
[provider.saml2.enabled]
|
||||
label = "Enable SAML2"
|
||||
description = "Enable SAML2 authentication (Enterprise only)"
|
||||
|
||||
[provider.saml2.provider]
|
||||
label = "Provider Name"
|
||||
description = "The name of your SAML2 provider"
|
||||
|
||||
[provider.saml2.registrationId]
|
||||
label = "Registration ID"
|
||||
description = "The name of your Service Provider (SP) app name"
|
||||
|
||||
[provider.saml2.idpMetadataUri]
|
||||
label = "IDP Metadata URI"
|
||||
description = "The URI for your provider's metadata"
|
||||
|
||||
[provider.saml2.idpSingleLoginUrl]
|
||||
label = "IDP Single Login URL"
|
||||
description = "The URL for initiating SSO"
|
||||
|
||||
[provider.saml2.idpSingleLogoutUrl]
|
||||
label = "IDP Single Logout URL"
|
||||
description = "The URL for initiating SLO"
|
||||
|
||||
[provider.saml2.idpIssuer]
|
||||
label = "IDP Issuer"
|
||||
description = "The ID of your provider"
|
||||
|
||||
[provider.saml2.idpCert]
|
||||
label = "IDP Certificate"
|
||||
description = "The certificate path (e.g., classpath:okta.cert)"
|
||||
|
||||
[provider.saml2.privateKey]
|
||||
label = "Private Key"
|
||||
description = "Your private key path"
|
||||
|
||||
[provider.saml2.spCert]
|
||||
label = "SP Certificate"
|
||||
description = "Your signing certificate path"
|
||||
|
||||
[provider.saml2.autoCreateUser]
|
||||
label = "Auto Create Users"
|
||||
description = "Automatically create user accounts on first SAML2 login"
|
||||
|
||||
[provider.saml2.blockRegistration]
|
||||
label = "Block Registration"
|
||||
description = "Prevent new user registration via SAML2"
|
||||
|
||||
[provider.googledrive]
|
||||
name = "Google Drive"
|
||||
scope = "File Import"
|
||||
|
||||
[provider.googledrive.enabled]
|
||||
label = "Enable Google Drive File Picker"
|
||||
description = "Allow users to import files directly from Google Drive"
|
||||
|
||||
[provider.googledrive.clientId]
|
||||
label = "Client ID"
|
||||
description = "Google OAuth 2.0 Client ID from Google Cloud Console"
|
||||
|
||||
[provider.googledrive.apiKey]
|
||||
label = "API Key"
|
||||
description = "Google API Key for Google Picker API from Google Cloud Console"
|
||||
|
||||
[provider.googledrive.appId]
|
||||
label = "App ID"
|
||||
description = "Google Drive App ID from Google Cloud Console"
|
||||
|
||||
Reference in New Issue
Block a user