mirror of
https://github.com/aljazceru/enclava.git
synced 2025-12-17 07:24:34 +01:00
simplifying the auth and creating strict separation
This commit is contained in:
@@ -104,8 +104,10 @@ class SecurityMiddleware(BaseHTTPMiddleware):
|
||||
"/favicon.ico",
|
||||
"/api/v1/auth/register",
|
||||
"/api/v1/auth/login",
|
||||
"/api/v1/auth/refresh", # Allow refresh endpoint
|
||||
"/api-internal/v1/auth/register",
|
||||
"/api-internal/v1/auth/login",
|
||||
"/api-internal/v1/auth/refresh", # Allow refresh endpoint for internal API
|
||||
"/", # Root endpoint
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user