Commit Graph
100 Commits
Author SHA1 Message Date
Stavros 00bfaa1cbe feat: add experimental docker build 2025-03-09 19:07:24 +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
StavrosandGitHub 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
StavrosandGitHub 47fff12bac chore: fix typo 2025-03-09 16:52:17 +02:00
StavrosandGitHub a8c51b649f chore: update funding 2025-03-09 16:51:38 +02:00
Stavros c2e8f1b473 chore: switch to table for sponsor section 2025-03-09 14:33:01 +02:00
Stavros bdf327cc9a chore: remove styles are they are not applied in readme 2025-03-09 14:26:27 +02:00
Stavros 46ec623d74 chore: add sponsors section 2025-03-09 14:20:46 +02:00
StavrosandGitHub f97c4d7e78 chore: add funding 2025-03-08 23:33:40 +02:00
StavrosandGitHub d45b148725 Merge pull request #44 from WilliamB78/main
feat: add Remote-User header
2025-03-04 16:20:47 +02:00
Stavros 33904f7f86 refactor: rename remote user to x tinyauth user 2025-03-04 16:00:28 +02: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 5c34ab96a9 fix: redirect user correctly 2025-02-19 17:05:01 +02:00
StavrosandGitHub cb6f93d879 chore: update readme 2025-02-17 07:49:01 +02:00
Stavros df0c356511 chore: update example and dev compose files 2025-02-16 22:59:04 +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 0f8d2e7fde fix: make query check account for spaces 2025-02-16 21:14:21 +02:00
StavrosandGitHub 0da82ae3fe chore: update readme 2025-02-15 19:53:21 +02:00
Stavros f9ab9a6406 fix: filter oauth whitelist to remove empty strings 2025-02-15 17:23:24 +02:00
Stavros 6f35923735 refactor: use try catch instead of can parse 2025-02-12 18:43:35 +02:00
Stavros b1dc5cb4cc fix: add check to make sure the url can be parsed 2025-02-11 18:50:33 +02:00
Stavros 3c9bc8c67f fix: use new URL instead of URL.parse 2025-02-11 18:31:31 +02:00
Stavros b2f4041e09 refactor: handle url queries null values better 2025-02-10 22:12:30 +02:00
Stavros eb4e157def refactor: small updates in the verify and create subcommands 2025-02-10 21:53:44 +02:00
Stavros cfe2a1967a refactor: use go's builtin basic auth parser 2025-02-10 21:42:27 +02:00
StavrosandGitHub c4ee269283 Merge pull request #33 from robotman4/patch-1
Change forwardauth endpoint in example compose
2025-02-10 21:30:07 +02:00
Stavros 38412e1962 tests: add api tests 2025-02-10 19:05:50 +02:00
Stavros 302d9cf2fd chore: add ci to readme 2025-02-10 18:32:47 +02:00
Stavros caf9cde08f tests: add frontend build to ci 2025-02-10 18:28:06 +02:00
Stavros 2473d3ce34 tests: add simple dist folder 2025-02-10 18:24:16 +02:00
Stavros d8d347b45f tests: add basic tests for utilities 2025-02-10 18:22:46 +02:00
Stavros a8da813374 fix: the traefik forward label should be in the tinyauth container 2025-02-09 13:35:23 +02:00
StavrosandGitHub 6936987c6b chore: add security file 2025-02-08 12:58:37 +02:00
StavrosandGitHub 9a16737a54 chore: add issue templates 2025-02-08 12:55:46 +02:00
StavrosandGitHub ddf40e6d63 chore: add contributing guide from docs 2025-02-08 12:51:31 +02:00
StavrosandGitHub 9fd1c81f8b chore: add code of conduct 2025-02-08 12:49:45 +02:00
Stavros 567e6f0b5b chore: bump version 2025-02-08 12:44:42 +02:00
StavrosandGitHub f7e7dee3da Merge pull request #31 from steveiliop56/chore/comments
chore: add comments to code
2025-02-08 12:40:34 +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 4e8a2443a6 chore: update readme 2025-02-07 19:25:23 +02:00
StavrosandGitHub 22777a16a1 chore: add discohook data 2025-02-07 19:12:53 +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 b3aac26644 chore: update gitignore 2025-02-02 14:28:12 +02:00
Stavros c37f66abb9 feat: strip go executable for smaller size 2025-02-02 13:31:35 +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 99268f80c9 fix: check available providers correctly 2025-02-01 15:29:26 +02:00
Stavros dcd816b6c6 fix: parse generic oauth provider config correctly 2025-01-31 17:28:59 +02:00
StavrosandGitHub 381f6ef76f Merge pull request #24 from steveiliop56/feat/docker-labels
Feat/docker labels
2025-01-30 17:14:07 +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 e2e3b3bdc6 refactor: use window.location.href for redirects 2025-01-28 19:08:00 +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 80ea43184c chore: update readme 2025-01-26 20:52:35 +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 d67133aca7 fix: get correct username from query params 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 708006decf refactor: move disable continue screen logic back to the continue screen 2025-01-26 19:51:14 +02:00
Stavros 682a918812 refactor: don't store oauth token in cookie 2025-01-26 11:05:11 +02:00
Stavros 389248cfe1 refactor: change cli about text 2025-01-25 21:11:56 +02:00
Stavros 81d25061df refactor: move disable continue logic in login screen 2025-01-25 21:11:09 +02:00
Stavros f59697955d chore: update readme 2025-01-25 20:47:26 +02:00
Stavros 47d8f1e5aa chore: update utility commands 2025-01-25 20:36:04 +02:00
Stavros e8d2e059a9 fix: pass cookie expiry to api config 2025-01-25 20:00:07 +02:00
Stavros 2c7a3fc801 refactor: simplify cookie secure logic 2025-01-25 16:29:18 +02:00
Stavros 61fffb9708 chore: disable cgo 2025-01-25 16:16:42 +02:00
Stavros 9d2aef163b chore: rename whitelist to oauth whitelist 2025-01-25 15:32:46 +02:00
Stavros cc480085c5 feat: custom cookie age 2025-01-25 15:29:17 +02:00
Stavros 2c7144937a chore: update readme 2025-01-25 13:20:09 +02:00
Stavros c7ec788ce1 fix: split generic scopes string to array 2025-01-25 10:25:20 +02:00
Stavros 96a373a794 feat: internal server error page 2025-01-24 20:31:10 +02:00
Stavros c5a8639822 feat: oauth email whitelist 2025-01-24 20:17:08 +02:00
Stavros b87cb54d91 refactor: rename generic user info url to generic user url 2025-01-24 19:41:44 +02:00
Stavros f61b6dbad4 refactor: log errors 2025-01-24 18:24:20 +02:00
Stavros 35854f5ce4 chore: bump version 2025-01-24 18:17:05 +02:00
Stavros c59aaa5600 feat: add option to disable continue screen 2025-01-24 18:16:23 +02:00
Stavros 085b1492cc fix: ignore new lines in password file 2025-01-24 17:51:32 +02:00