feat(oidc): add auto-redirect for OIDC
add `auto_redirect_if_standalone_oidc` in `OXICLOUD_AUTH_POLICIES` let admin decide to redirect immediately to IdP if OIDC is the only auth method enabled
This commit is contained in:
+1
-1
@@ -628,7 +628,7 @@ async fn run() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let api_routes = create_api_routes(&app_state);
|
||||
let public_api_routes = create_public_api_routes(&app_state);
|
||||
let health_routes = create_health_routes(&app_state);
|
||||
let web_routes = create_web_routes();
|
||||
let web_routes = create_web_routes(app_state.clone());
|
||||
|
||||
let mut app;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user