Skip to content

Commit

Permalink
fix: remove client key route from protected routes
Browse files Browse the repository at this point in the history
  • Loading branch information
frdomovic committed Jun 17, 2024
1 parent 4883249 commit 948cceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/server/src/admin/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ pub(crate) fn setup(
});

let protected_router = Router::new()
.route("/add-client-key", post(add_client_key_handler))
.route("/install-application", post(install_application_handler))
.route("/applications", get(list_applications_handler))
.route("/did", get(fetch_did_handler))
Expand All @@ -86,7 +87,6 @@ pub(crate) fn setup(
let mut exempted_router = Router::new()
.route("/health", get(health_check_handler))
.route("/root-key", post(create_root_key_handler))
.route("/add-client-key", post(add_client_key_handler))
.route("/request-challenge", post(request_challenge_handler))
.layer(Extension(shared_state.clone()));

Expand Down

0 comments on commit 948cceb

Please sign in to comment.