Add OpenID routes
This commit is contained in:
@ -8,4 +8,10 @@ pub const MAX_INACTIVITY_DURATION: u64 = 60 * 30;
|
||||
pub const MAX_SESSION_DURATION: u64 = 3600 * 6;
|
||||
|
||||
/// The routes that can be accessed without authentication
|
||||
pub const ROUTES_WITHOUT_AUTH: [&str; 3] = ["/", "/api/server/static_config", "/api/auth/local"];
|
||||
pub const ROUTES_WITHOUT_AUTH: [&str; 5] = [
|
||||
"/",
|
||||
"/api/server/static_config",
|
||||
"/api/auth/local",
|
||||
"/api/auth/start_oidc",
|
||||
"/api/auth/finish_oidc",
|
||||
];
|
||||
|
Reference in New Issue
Block a user