Stavros
52f189563b
refactor: split app context and user context ( #48 )
...
* refactor: split app context and user context
* tests: fix api tests
* chore: rename dockerfiles
* fix: use correct forwardauth address
2025-03-14 20:38:09 +02:00
Stavros
ec67ea3807
refactor: detect if using browser or headless client for better responses
2025-03-10 17:02:23 +02:00
Stavros
3649d0d84e
fix: allow oauth resource when oauth whitelist is empty
2025-03-10 16:22:32 +02:00
Stavros
8cc0f8b31b
chore: bump version
2025-03-09 18:44:45 +02:00
Stavros
631059be69
refactor: rename x-tinyauth-user to remote-user
2025-03-09 18:41:20 +02:00
Stavros
5188089673
Feat/totp ( #45 )
...
* wip
* feat: finalize totp gen code
* refactor: split login screen and forms
* feat: add totp logic and ui
* refactor: make totp pending expiry time fixed
* refactor: skip all checks when disable continue is enabled
* fix: fix cli not exiting on invalid input
2025-03-09 18:39:25 +02:00
Stavros
33904f7f86
refactor: rename remote user to x tinyauth user
2025-03-04 16:00:28 +02:00
WilliamB78
7e0bc84b0f
feat: add Remote-User header
2025-03-04 09:59:42 +01:00
Stavros
fc3f8b5036
refactor: rename the run function to runCheck in the docker helper
2025-02-26 19:31:37 +02:00
Stavros
3030fc5fcf
refactor: change error to 500 when there is an error
2025-02-26 19:27:43 +02:00
Stavros
e4379cf3ed
feat: allowed paths label
2025-02-26 19:25:54 +02:00
Stavros
30aab17f06
feat: allow custom app and generic oauth title
2025-02-23 20:51:56 +02:00
Stavros
7ee0b645e6
chore: bump version
2025-02-19 17:41:23 +02:00
Stavros
d1c6ae1ba1
fix: redirect to frontend when no redirect uri is present in oauth callback
2025-02-16 22:48:04 +02:00
Stavros
f9ab9a6406
fix: filter oauth whitelist to remove empty strings
2025-02-15 17:23:24 +02:00
Stavros
cfe2a1967a
refactor: use go's builtin basic auth parser
2025-02-10 21:42:27 +02:00
Stavros
38412e1962
tests: add api tests
2025-02-10 19:05:50 +02:00
Stavros
d8d347b45f
tests: add basic tests for utilities
2025-02-10 18:22:46 +02:00
Stavros
567e6f0b5b
chore: bump version
2025-02-08 12:44:42 +02:00
Stavros
7a3a463489
chore: add comments to code
2025-02-08 12:33:58 +02:00
Stavros
e09f241364
fix: handle user parse errors correctly
2025-02-07 20:11:16 +02:00
Stavros
d2ee382f92
fix: return json errors when authorization header is present
2025-02-07 20:03:24 +02:00
Stavros
0872556c1a
chore: add to do in basic auth
2025-02-07 17:46:13 +02:00
Stavros
daad2abc33
feat: add basic header authorization
2025-02-07 17:08:39 +02:00
Stavros
ce567ae3de
feat: add support for nginx/nginx proxy manager (breaking)
2025-02-07 16:36:47 +02:00
Stavros
87393d3c64
feat: add session expiry inside cookie (breaking)
2025-02-05 19:08:23 +02:00
Stavros
97830a309b
chore: bump version
2025-02-02 19:36:12 +02:00
Stavros
fe594d2755
fix: do not crash when docker is not connected
2025-02-02 19:34:02 +02:00
Stavros
2c4f086008
chore: bump version
2025-02-01 16:30:31 +02:00
Stavros
6e5f882e0b
feat: tailscale oauth
2025-02-01 16:28:39 +02:00
Stavros
dcd816b6c6
fix: parse generic oauth provider config correctly
2025-01-31 17:28:59 +02:00
Stavros
8a8ba18ded
refactor: remove label value from logging
2025-01-30 17:13:38 +02:00
Stavros
29f0a94faf
feat: finalize logic
2025-01-30 17:11:31 +02:00
Stavros
6602e8140b
wip
2025-01-29 22:06:52 +02:00
Stavros
2385599c80
fix: omit port from cookie domain configuration
2025-01-29 17:55:21 +02:00
Stavros
6f184856f1
chore: bump version
2025-01-28 19:10:36 +02:00
Stavros
3efcb26db1
refactor: remove sensitive info logging even in debug mode
2025-01-28 17:36:06 +02:00
Stavros
c54267f50d
fix: parse users correctly
2025-01-26 22:40:55 +02:00
Stavros
4de12ce5c1
fix: no need to log that the provider is empty
2025-01-26 21:36:41 +02:00
Stavros
0cf0aafc14
fix: configure secrets before config validation
2025-01-26 21:13:26 +02:00
Stavros
3c4dffd479
chore: bump version
2025-01-26 20:52:06 +02:00
Stavros
f19f40f9fc
feat: add secret file
2025-01-26 20:47:08 +02:00
Stavros
a243f22ac8
refactor: users are not a requirement when using oauth
2025-01-26 20:45:34 +02:00
Stavros
08d382c981
feat: add debug log level
2025-01-26 20:23:09 +02:00
Stavros
94f7debb10
feat: secrets file
2025-01-26 19:51:58 +02:00
Stavros
3b50d9303b
refactor: use cookie store correctly
2025-01-26 19:51:58 +02:00
Stavros
989ea8f229
refactor: rename email back to username
2025-01-26 19:51:58 +02:00
Stavros
682a918812
refactor: don't store oauth token in cookie
2025-01-26 11:05:11 +02:00
Stavros
2c7a3fc801
refactor: simplify cookie secure logic
2025-01-25 16:29:18 +02:00
Stavros
9d2aef163b
chore: rename whitelist to oauth whitelist
2025-01-25 15:32:46 +02:00