feat: add oauth flow base
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
mod auth;
|
||||
mod health;
|
||||
|
||||
use axum::Router;
|
||||
|
||||
pub fn routes() -> Router {
|
||||
let health = health::routes();
|
||||
use crate::state::State;
|
||||
|
||||
Router::new().merge(health)
|
||||
pub fn routes(state: State) -> Router {
|
||||
let auth = auth::routes(state.clone());
|
||||
let health = health::routes(state);
|
||||
|
||||
Router::new().merge(auth).merge(health)
|
||||
}
|
||||
|
Reference in New Issue
Block a user