mirror of
https://github.com/booklore-app/booklore.git
synced 2026-02-18 00:17:53 +01:00
OIDC Authentication Revamp: Smarter Init, Error Handling, and Fallback
This commit is contained in:
committed by
Aditya Chandel
parent
44541849ff
commit
c75c4dce5b
@@ -52,7 +52,7 @@ public class DualJwtAuthenticationFilter extends OncePerRequestFilter {
|
||||
|
||||
String path = request.getRequestURI();
|
||||
|
||||
if (path.startsWith("/api/v1/opds/") || path.equals("/api/v1/auth/refresh")) {
|
||||
if (path.startsWith("/api/v1/opds/") || path.equals("/api/v1/auth/refresh") || path.equals("/api/v1/setup/status")) {
|
||||
chain.doFilter(request, response);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ public class SecurityConfig {
|
||||
"/ws/**",
|
||||
"/api/v1/auth/**",
|
||||
"/api/v1/public-settings",
|
||||
"/api/v1/setup/**",
|
||||
"/api/v1/setup/status",
|
||||
"/api/v1/books/*/cover",
|
||||
"/api/v1/books/*/backup-cover",
|
||||
"/api/v1/opds/*/cover.jpg",
|
||||
|
||||
Reference in New Issue
Block a user