Redirect user to authentication
This commit is contained in:
5
src/constants.rs
Normal file
5
src/constants.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
/// Session key for OpenID login state
|
||||
pub const STATE_KEY: &str = "oidc-state";
|
||||
|
||||
/// Session key for user information
|
||||
pub const USER_SESSION_KEY: &str = "user";
|
Reference in New Issue
Block a user