Something went wrong. Try again.
Microservice to bring 2FA to self hosted PDSes forked from pds.dad/pds-gatekeeper
Something went wrong. Try again.
Adding an auth module with all the scopes, handles, and did checking goodies that can be used as middleware layers in axum inspired from my attribute macros elsewhere. master
example ``` // Multi-community endpoint .route("/xrpc/community.shared.moderation.report", post(report).layer(from_fn_with_state( with_rules(AuthRules::All(vec![ AuthRules::HandleEndsWithAny(vec![ ".blacksky.team".into(), ".bsky.team".into(), ".mod.social".into(), ]), AuthRules::ScopeEquals("atproto".into()), ]), &state), auth_middleware ))) ```
Author Clinton Bowen Committer Tangled Date (Jan 5, 2026, 2:08 PM UTC) Commit a49ee039 a49ee03909657ef59e33fa3f716c6da59db73f4b Parent 2e39f1e7 2e39f1e70cb7d9c57d5c9eef6334b82830d4e14c