kanidm/proto/src/constants/uri.rs
James Hodgkinson e02328ae8b
Splitting the SPAs (#2219)
* doing some work for enumerating how the accounts work together
* fixing up build scripts and removing extra things
* making JavaScript as_tag use the struct field names
* making shared.js a module, removing wasmloader.js
* don't compress compressed things
2023-10-27 06:03:58 +00:00

16 lines
629 B
Rust

//! Shared URIs
//!
//! ⚠️ ⚠️ WARNING ⚠️ ⚠️
//!
//! IF YOU CHANGE THESE VALUES YOU MUST UPDATE OIDC DISCOVERY URLS EVERYWHERE
//!
//! SERIOUSLY... DO NOT CHANGE THEM!
//!
/// ⚠️ ⚠️ WARNING DO NOT CHANGE THIS ⚠️ ⚠️
pub const OAUTH2_AUTHORISE: &str = "/oauth2/authorise";
/// ⚠️ ⚠️ WARNING DO NOT CHANGE THIS ⚠️ ⚠️
pub const OAUTH2_AUTHORISE_PERMIT: &str = "/oauth2/authorise/permit";
/// ⚠️ ⚠️ WARNING DO NOT CHANGE THIS ⚠️ ⚠️
pub const OAUTH2_AUTHORISE_REJECT: &str = "/oauth2/authorise/reject";
pub const V1_AUTH_VALID: &str = "/v1/auth/valid";