mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
40574bc8ec
Before this fix an anonymous user was not able to access a resource that were configured with a bypass policy. This was due to a useless check of the userid in the auth session. Moreover, in the case of an anonymous user, we should not check the inactivity period since there is no session. Also refactor /verify endpoint for better testability and add tests in a new suite.
14 lines
519 B
TypeScript
14 lines
519 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_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"; |