mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2026-04-22 23:08:53 +02:00
Backend:
- Make /api/v1/proprietary/ui-data/login endpoint public - Fix enableLogin to check both config flag AND proprietary module availability - Add enableLogin field to login endpoint response Frontend: - Dynamically show/hide SSO providers based on backend configuration - Redirect to home when login is disabled (anonymous mode) - Suppress 401 authentication errors on auth pages - Fix carousel image reset on input typing (memoize component) - Remove forgot password and signup links from login page - Conditionally render email form and dividers based on SSO availability Other: - Add .dockerignore for faster Docker builds - Configure nginx to run as non-root user - Bump version to 2.0.0
This commit is contained in:
@@ -75,6 +75,9 @@ public class RequestUriUtils {
|
||||
|| trimmedUri.startsWith("/api/v1/auth/login")
|
||||
|| trimmedUri.startsWith("/api/v1/auth/refresh")
|
||||
|| trimmedUri.startsWith("/api/v1/auth/logout")
|
||||
|| trimmedUri.startsWith(
|
||||
"/api/v1/proprietary/ui-data/login") // Login page config (SSO providers +
|
||||
// enableLogin)
|
||||
|| trimmedUri.startsWith("/v1/api-docs")
|
||||
|| trimmedUri.startsWith("/api/v1/invite/validate")
|
||||
|| trimmedUri.startsWith("/api/v1/invite/accept")
|
||||
|
||||
Reference in New Issue
Block a user