Create the auth router.
(state: Arc<ServerState>)
| 56 | |
| 57 | /// Create the auth router. |
| 58 | pub fn router(state: Arc<ServerState>) -> Router { |
| 59 | Router::new() |
| 60 | .route("/auth/connect", get(auth_connect)) |
| 61 | .route("/auth/oidc-config", get(oidc_config_handler)) |
| 62 | .with_state(state) |
| 63 | } |
| 64 | |
| 65 | /// OIDC configuration discovery endpoint. |
| 66 | /// |
nothing calls this directly
no test coverage detected