1
0
mirror of https://github.com/0rangebananaspy/authelia.git synced 2024-09-14 22:47:21 +07:00
Commit Graph

8 Commits

Author SHA1 Message Date
James Elliott
03d56a31ad
refactor: address code review ()
Addresses code review for .
2022-07-08 20:56:22 +10:00
James Elliott
290a38e424
fix(configuration): address parsing failure ()
This fixes an issue with parsing address types from strings.
2022-07-05 14:43:12 +10:00
James Elliott
2037a0ee4f
fix(commands): hash-password usage instructions ()
This fixes the hash-password usage instructions and ensures it uses mostly a configuration source based config. In addition it updates our recommended argon2id parameters with the RFC recommendations.
2022-06-02 09:18:45 +10:00
James Elliott
7230db7cea
refactor(configuration): decode_hooks blackbox and better testing () 2022-04-03 22:44:52 +10:00
James Elliott
3c1bb3ec19
feat(authorization): domain regex match with named groups ()
This adds an option to match domains by regex including two special named matching groups. User matches the username of the user, and Group matches the groups a user is a member of. These are both case-insensitive and you can see examples in the docs.
2022-04-01 22:38:49 +11:00
James Elliott
dbe290a1c9
refactor: include url hook func ()
This adds a hook func for url.URL and *url.URL types to the configuration.
2022-03-16 16:16:46 +11:00
James Elliott
1c1030c742
fix(configuration): time duration decode hook panic ()
This fixes a potential panic in the time duration decode hook when the YAML value is a zero integer.
2022-03-05 16:51:41 +11:00
James Elliott
6276883f04
refactor(configuration): utilize time duration decode hook ()
This enhances the existing time.Duration parser to allow multiple units, and implements a decode hook which can be used by koanf to decode string/integers into time.Durations as applicable.
2022-03-02 17:40:26 +11:00