Fix: Allow public access to Swagger UI and OpenAPI endpoints
Added explicit HTTP auth permissions to allow unauthenticated access to: - /q/* (health endpoints) - /openapi (OpenAPI spec) - /swagger-ui/* (Swagger UI) This fixes the issue where proactive auth mode blocked access to documentation endpoints in production. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -42,6 +42,14 @@ quarkus.oidc.authentication.restore-path-after-redirect=true
|
||||
quarkus.security.auth.enabled=true
|
||||
quarkus.security.auth.proactive=true
|
||||
|
||||
# Permissions pour accès public aux endpoints de documentation et santé
|
||||
quarkus.http.auth.permission.public.paths=/q/*,/openapi,/swagger-ui/*
|
||||
quarkus.http.auth.permission.public.policy=permit
|
||||
|
||||
# Authentification requise pour tous les autres endpoints
|
||||
quarkus.http.auth.permission.authenticated.paths=/*
|
||||
quarkus.http.auth.permission.authenticated.policy=authenticated
|
||||
|
||||
# Logging
|
||||
quarkus.log.level=INFO
|
||||
quarkus.log.category."dev.lions.btpxpress".level=INFO
|
||||
|
||||
Reference in New Issue
Block a user