Commit Graph

2455 Commits

Author SHA1 Message Date
Clément Michaud
5d4003c291
refactor: directly return error where sufficient (#2855) 2022-02-10 09:07:53 +11:00
Biel Frontera
8fc48476c6
docs: add community example of integrating authelia with Django (#2858)
Extend the information given at #2636 about how to integrate
authelia with Django.
2022-02-09 21:50:34 +01:00
Amir Zarrinkafsh
9c98321130
fix(docker): fix bootstrap and dev docker image build (#2857)
This reverts commit 380e6fccb6. This change ensures that BUILDKIT is enabled to pick up the correct Dockerfile and .dockerignore files during the build process of the dev image.

Fixes #2843. Closes #2844.
2022-02-08 16:09:45 +11:00
Dylan Drost
b6cffaaf50
docs: added example configs for oidc for specific services (portainer, proxmox) (#2831)
Co-authored-by: Clément Michaud <clement.michaud34@gmail.com>
2022-02-08 00:05:10 +01:00
Shihta Kuan
380e6fccb6
fix(docker): fix the building process of docker image (#2844)
Co-authored-by: Clément Michaud <clement.michaud34@gmail.com>
2022-02-07 23:40:51 +01:00
Michael Shamoon
5dd0cfb8c7
docs: add Bookstack to list of community-tested OIDC integrations (#2849)
Co-authored-by: Clément Michaud <clement.michaud34@gmail.com>
2022-02-07 22:08:48 +01:00
James Elliott
fcdd41ea2a
feat: oidc scope i18n (#2799)
This adds i18n for the OIDC scope descriptsions descriptions.
2022-02-08 01:18:16 +11:00
James Elliott
26236f491e
fix(server): use of inconsistent methods for determining origin (#2848)
This unifies the methods to obtain the X-Forwarded-* header values and provides logical fallbacks. In addition, so we can ensure this functionality extends to the templated files we've converted the ServeTemplatedFile method into a function that operates as a middlewares.RequestHandler.

Fixes #2765
2022-02-07 00:37:28 +11:00
James Elliott
7775d2af0e
fix(ntp): disable failure ignored (#2835)
Disable failure was ignored previously, this ensures it isn't.
2022-02-03 14:04:24 +11:00
James Elliott
1772a83190
refactor: apply godot recommendations (#2839) 2022-01-31 16:25:15 +11:00
Clément Michaud
357c654db8
ci(codecov): exclude coverage files from the coverage itself (#2832)
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-23 02:55:13 +11:00
renovate[bot]
029e3268d4
build(deps): update dependency i18next to v21.6.7 (#2824)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-22 11:04:32 +11:00
renovate[bot]
28b29be0af
build(deps): update dependency i18next-http-backend to v1.3.2 (#2823)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-22 10:23:00 +11:00
renovate[bot]
7402f6807b
build(deps): update dependency react-i18next to v11.15.3 (#2821)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-22 00:48:50 +11:00
renovate[bot]
31f3f23195
build(deps): update dependency i18next to v21.6.6 (#2820)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-22 00:23:49 +11:00
Manuel Nuñez
db046b2d1c
feat(web): i18n (#2697)
This adds support for i18n so that users may be presented a familiar language to the language the browser language they are using automatically. Currently supported languages: en, es.

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-21 23:05:46 +11:00
Clément Michaud
a7a2bc63fe
feat(configuration): support private-use redirect uris in oidc (#2796)
Private-use redirect URIs are used to redirect the user to native apps initiating the authentication flow on a device as described in https://datatracker.ietf.org/doc/html/rfc8252#section-7.1

Fix #2742
2022-01-21 22:05:53 +11:00
James Elliott
8d5a29117e
release: v4.33.2 (#2800) 2022-01-21 15:34:17 +11:00
James Elliott
e59f571816
refactor(oidc): add client id to two factor log message (#2816)
Adds the client id to a log message where it's likely useful. Additionally adds beta stage for prompt/display handling.
2022-01-21 14:15:50 +11:00
renovate[bot]
d8cf272757
build(deps): update traefik docker tag to v2.5.7 (#2815)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-21 13:43:06 +11:00
renovate[bot]
6020dd611f
build(deps): update dependency typescript to v4.5.5 (#2812)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-21 11:38:48 +11:00
renovate[bot]
c4cef2918b
build(deps): update dependency @commitlint/cli to v16.1.0 (#2810)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-21 11:19:25 +11:00
James Elliott
9a8c6602dd
fix(middlewares): smart delay on reset password (#2767)
This adds a smart delay on reset password attempts to prevent username enumeration. Additionally utilizes crypto rand instead of math rand. It also moves the timing delay functionality into its own handler func.
2022-01-21 10:46:13 +11:00
renovate[bot]
97a862e81a
build(deps): update dependency @commitlint/cli to v16.0.3 (#2808)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 07:30:44 +11:00
renovate[bot]
6366e3452c
build(deps): update dependency vite to v2.7.13 (#2807)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-19 18:22:27 +11:00
renovate[bot]
fb73d75c08
build(deps): update dependency @types/node to v16.11.21 (#2806)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-19 08:26:18 +11:00
renovate[bot]
545dddea52
build(deps): update dependency axios to v0.25.0 (#2805)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-18 21:45:57 +11:00
James Elliott
06641cd15a
fix(oidc): add preferred username claim (#2801)
This adds the missing preferred username claim to the ID Token for OIDC.

Fixes #2798
2022-01-18 20:32:06 +11:00
renovate[bot]
e4391892b5
build(deps): update typescript-eslint monorepo to v5.10.0 (#2804)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-18 13:10:39 +11:00
renovate[bot]
adb6949f30
build(deps): update dependency vite-plugin-istanbul to v2.4.0 (#2803)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-18 11:25:28 +11:00
renovate[bot]
1945535742
build(deps): update dependency @types/node to v16.11.20 (#2802)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-18 10:50:28 +11:00
James Elliott
fe4bfc1c75
fix(configuration): mail address decode hook func (#2790)
This fixes an issue with the mail address decode hook func which previously would attempt to decode any struct type to a mail address.
2022-01-15 13:01:40 +11:00
renovate[bot]
73b7900fee
build(deps): update dependency vite to v2.7.12 (#2797)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-14 09:30:18 +11:00
renovate[bot]
ef824a3b6c
build(deps): update dependency vite to v2.7.11 (#2795)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-13 23:57:40 +11:00
renovate[bot]
526d71ae8c
build(deps): update module github.com/ory/fosite to v0.42.0 (#2691)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-13 02:52:15 +11:00
James Elliott
d103585aba
fix(storage): use boolean instead of integer (#2776)
This fixes an issue where an integer is used instead of a boolean.
2022-01-13 01:42:41 +11:00
renovate[bot]
03caebaad0
build(deps): update dependency query-string to v7.1.0 (#2772)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Clément Michaud <clement.michaud34@gmail.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-13 01:11:09 +11:00
renovate[bot]
5e4738beec
build(deps): update dependency @commitlint/cli to v16.0.2 (#2777)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-13 00:53:52 +11:00
renovate[bot]
d68f9a2254
build(deps): update dependency vite-plugin-svgr to v1 (#2779)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-13 00:13:07 +11:00
renovate[bot]
535ad2a697
build(deps): update haproxy docker tag to v2.5.1 (#2793)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-12 23:54:50 +11:00
renovate[bot]
2891ceddba
build(deps): update module github.com/knadh/koanf to v1.4.0 (#2757)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-12 23:42:20 +11:00
renovate[bot]
e3ef0c3542
build(deps): update module github.com/fasthttp/router to v1.4.5 (#2787)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-12 23:14:48 +11:00
renovate[bot]
1e1927e60e
build(deps): update module github.com/fasthttp/session/v2 to v2.4.5 (#2788)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-12 22:51:50 +11:00
renovate[bot]
be3109af0b
build(deps): update module github.com/valyala/fasthttp to v1.32.0 (#2778)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-12 22:37:40 +11:00
Amir Zarrinkafsh
dfa2a0d1b0
ci(buildkite): use armv7l architecture and ignore check (#2792)
* ci(buildkite): use armv7l architecture and ignore check

* fix: only ignore architecture check for armhf
2022-01-12 22:08:05 +11:00
renovate[bot]
2bbfd38a29
build(deps): update golang docker tag to v1.17.6 (#2774)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-11 23:32:51 +01:00
renovate[bot]
cf632cb34a
build(deps): update typescript-eslint monorepo to v5.9.1 (#2786)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-11 22:57:12 +01:00
renovate[bot]
25d16994e3
build(deps): update dependency husky to v7.0.4 (#2780)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-11 13:29:58 +01:00
renovate[bot]
322359fefb
build(deps): update dependency jest to v27.4.7 (#2768)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 11:53:29 +11:00
renovate[bot]
74641ce027
build(deps): update dependency jest to v27.4.6 (#2766)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 20:06:53 +11:00