Skip to content

Commit

Permalink
WAYK-2566: Use the AUTH middleware for all routes except those explic…
Browse files Browse the repository at this point in the history
…itly excluded
  • Loading branch information
fdubois1 committed Aug 3, 2021
1 parent 5064fb1 commit fe03b14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions devolutions-gateway/src/http/http_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ pub fn configure_http_server(config: Arc<Config>, jet_associations: JetAssociati
middlewares
.apply(
AuthMiddleware::new(config.clone()),
vec!["/jet", "/sessions", "/bridge"],
None,
vec!["/"],
vec!["/registry", "/health"],
)
.apply(
SogarAuthMiddleware::new(config.clone()),
Expand Down

0 comments on commit fe03b14

Please sign in to comment.