mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
4016ff1bba
* Removal of the Redirect header sent by Authelia /api/verify endpoint. * Authelia does not consume Host header anymore but X-Forwarded-Proto and X-Forwarded-Host to compute the link sent in identity verification emails. * Authelia used Host header as the application name for U2F authentication but it's now using X-Forwarded-* headers.
18 lines
697 B
TypeScript
18 lines
697 B
TypeScript
export const REDIRECT_QUERY_PARAM = "rd";
|
|
|
|
// Used as a first factor script parameter for knowing the authorizations
|
|
// related to the domain and resource.
|
|
export const HEADER_X_TARGET_URL = "x-target-url";
|
|
|
|
export const HEADER_X_ORIGINAL_URL = "x-original-url";
|
|
export const HEADER_X_FORWARDED_PROTO = "x-forwarded-proto";
|
|
export const HEADER_X_FORWARDED_HOST = "x-forwarded-host";
|
|
export const HEADER_X_FORWARDED_URI = "x-forwarded-uri";
|
|
export const HEADER_PROXY_AUTHORIZATION = "proxy-authorization";
|
|
export const HEADER_REDIRECT = "redirect";
|
|
|
|
export const GET_VARIABLE_KEY = "variables";
|
|
|
|
export const HEADER_REMOTE_USER = "Remote-User";
|
|
export const HEADER_REMOTE_GROUPS = "Remote-Groups";
|