Commit Graph

23 Commits

Author SHA1 Message Date
James Read 0283b51eca
feature: Login/Logout links (#443)
* feature: Login/Logout links

* cicd: codestyle
2024-10-19 07:49:41 +00:00
jamesread 1af2e92132 feature: Local user login! 2024-10-18 01:20:04 +01:00
jamesread 6a7187fb5b feature: OAuth2! :-D 2024-10-14 09:25:21 +01:00
James Read eee4c4e404
bugfix: Auth in the wrong place (#430) 2024-10-12 21:14:09 +00:00
Simon Dahlbacka 35dca50863
Make it possible to redirect to a login url unless authenticated (#347)
* feature: Try to navigate to UrlOnUnauthenticated if set and not authenticated

* refactor: use better naming

* feature: default to allow guest
2024-10-11 17:36:31 +00:00
James Read 044613ae9a
bugfix: Null action map, causing crash on startup actions (#407) 2024-09-11 16:19:52 +00:00
James Read defcf6d26e
fmt: Rebuilt ACL code to have less boilerplate (#397) 2024-08-30 20:30:44 +00:00
James Read 31d7168aac
feature: #350 Environment variable PORT can be used to override the default 1337, and internal services will calculate their port based on that (#358) 2024-07-15 14:28:53 +00:00
James Read 8625e1fc0a
fmt: Clean REST API Testing (#307)
* fmt: Clean REST API Testing

* fmt: Clean REST API Testing
2024-05-06 21:44:12 +00:00
James Read 8341b1d6d0
feature: Huge JWT improvements for CloudFlare, etc (#269) 2024-04-14 22:59:45 +00:00
James Read f13a5c070a
feature: JWT Validation wip for Cloudflare (#264) 2024-04-10 22:14:33 +00:00
jamesread 6b0e414932 More debug info for auth 2023-12-21 01:26:17 +00:00
jamesread e5a870ed94 feature: websocket implemenation at last! 2023-08-25 15:11:29 +01:00
Bernard Crnković 6e2e585175
add support for asymmetric crypto based jwt signatures (#145)
* add support for asymmetric crypto based jwt signatures

* wip: e2e test example

* wip: rsa key parse error...

* fix: test works

---------

Co-authored-by: James Read <contact@jread.com>
2023-08-24 12:33:10 +01:00
jamesread 11bb3f129f fmt: gofmt 2023-02-16 16:21:53 +00:00
jamesread 0335e58b12 feature: Cleaned up jwt auth, and added header auth 2023-02-15 17:41:33 +00:00
Bernard Crnković e18df74d5a
extract hardcoded jwt claim names into config (#97)
* extract hardcoded jwt field names into config

* Update config.go

Co-authored-by: James Read <contact@jread.com>
2023-01-10 22:29:31 +00:00
jamesread 21b33086ae fmt: ST1005 https://staticcheck.io/docs/checks/#ST1005 2022-11-13 07:34:23 +00:00
jamesread e9fbcce220 fmt: Reduce cyclo complexity 2022-08-24 20:52:13 +01:00
jamesread 0949999840 feature: Initial version of JWT/ACLs 2022-08-24 12:00:33 +01:00
Fabio Alessandro Locati 8485a0e446
bugfix: update code to reflect new repository name 2022-04-26 13:43:40 +02:00
jamesread b3b5b6fe60 codestyle stuff 2021-11-04 10:32:53 +00:00
jamesread 37b9e2d66f Single endpoint for web+ui (Issue #4). Migrated to modern protobuf+grpc. 2021-05-24 22:02:21 +01:00