Commit Graph

14867 Commits

Author SHA1 Message Date
Girish Ramakrishnan eae390a387 Add to changes 2023-03-23 08:18:12 +01:00
Girish Ramakrishnan 182bdfc193 cloudron-support: ip6tables 2023-03-23 08:13:12 +01:00
Johannes Zellner 4e64439870 dashboard: Show oidc logout URL 2023-03-22 13:17:48 +01:00
Johannes Zellner 41ecf14b28 oidc: also show error_description for more details 2023-03-22 12:27:16 +01:00
Johannes Zellner 9505e3a61b oidc: Only provide post_logout_redirect_uris if set 2023-03-22 11:12:50 +01:00
Johannes Zellner e822361693 fixup oidc client route tests 2023-03-21 19:39:13 +01:00
Johannes Zellner 3503ab9bb7 oidc: allow to edit client configs 2023-03-21 19:13:01 +01:00
Johannes Zellner 14bcfbeeb2 Add experimental oidc dashboard view 2023-03-21 18:54:43 +01:00
Johannes Zellner b78c773bc6 sort by -> order by 2023-03-21 17:40:06 +01:00
Johannes Zellner 4b2ee168fc oidc: better error page message 2023-03-21 15:32:59 +01:00
Johannes Zellner b1f1c06a6d oidc: return null if client can't be found 2023-03-21 15:23:45 +01:00
Johannes Zellner 1be3c722e6 add missing jquery include in oidc views 2023-03-21 15:20:30 +01:00
Johannes Zellner 8d7efc5701 oidc: Provide custom error page 2023-03-21 15:20:18 +01:00
Johannes Zellner 2315cf330f Carefully (re)start oidc server depending on dashboardFqdn 2023-03-21 14:59:28 +01:00
Johannes Zellner 22f9ffd119 Fixup many linter errors 2023-03-21 14:46:09 +01:00
Johannes Zellner 0743296bef Add eslint dev dependency for sublime-text lsp linter 2023-03-21 14:40:40 +01:00
Johannes Zellner e9fc355ac5 Move openid provider into its own express server 2023-03-21 14:39:58 +01:00
Johannes Zellner 46c233bad6 oidc: Add clients manage routes 2023-03-21 13:54:40 +01:00
Johannes Zellner e14b0a721a Set ulimit nofile for mysql test container to make it work on arch 2023-03-20 17:39:21 +01:00
Johannes Zellner 8a1cb6b9b3 Support .well-known/openid-configuration directly 2023-03-20 15:48:38 +01:00
Johannes Zellner 98b93537ac Provide custom logout views 2023-03-19 16:01:22 +01:00
Johannes Zellner a832a95a62 oidc: use the username for mapping 2023-03-19 16:01:22 +01:00
Johannes Zellner 260925229a oidc: post logout redirect uris is an array 2023-03-19 16:01:22 +01:00
Johannes Zellner 5465bbb6d7 Remove openid test client 2023-03-19 16:01:22 +01:00
Johannes Zellner 27ff2316b9 oidc: initial logout redirect URI support 2023-03-19 16:01:22 +01:00
Johannes Zellner 39f2308ba1 oidc: Attempt to replace built-in session end 2023-03-19 16:01:22 +01:00
Johannes Zellner cd2fa9478c Specify supported claims 2023-03-19 16:01:22 +01:00
Johannes Zellner 4b7e4731a8 oidc: put clients into the db 2023-03-19 16:01:22 +01:00
Johannes Zellner da77b1ae5d oidc: set route prfix for issues 2023-03-19 16:01:22 +01:00
Johannes Zellner ff697f8d33 oidc routes need settings to be loaded 2023-03-19 16:01:22 +01:00
Johannes Zellner bb5f8b6452 Allow single redirect uris 2023-03-19 16:01:22 +01:00
Johannes Zellner b792fb97d6 oidc: make clients more dynamic 2023-03-19 16:01:22 +01:00
Johannes Zellner cef34bfbb7 oidc: move routes to server.js for visibility 2023-03-19 16:01:22 +01:00
Johannes Zellner 2038a98e61 oidc: remove dead code 2023-03-19 16:01:22 +01:00
Johannes Zellner 51831e4bdf oidc: Some more claims debug 2023-03-19 16:01:22 +01:00
Johannes Zellner 9089616e85 Store oidc data in platformdata/oidc 2023-03-19 16:01:22 +01:00
Johannes Zellner df53cfb14c oidc: implement real profile claims 2023-03-19 16:01:22 +01:00
Johannes Zellner aae4acc419 oidc: Handle login without redirect from backend and set some default
ttls
2023-03-19 16:01:22 +01:00
Johannes Zellner 5e4e292b4d oidc: Remove rpInitiatedLogout again 2023-03-19 16:01:16 +01:00
Johannes Zellner 05a1cc58eb oidc: als add basic style for autorize page 2023-03-19 13:08:06 +01:00
Johannes Zellner 3b9336d3c9 oidc: Initial auth against our userdb is working 2023-03-19 13:08:06 +01:00
Johannes Zellner 57689ffdf4 oidc: apply basic style to login view 2023-03-19 13:08:06 +01:00
Johannes Zellner 36f8bfc229 Add oidc logout hooks 2023-03-19 13:08:06 +01:00
Johannes Zellner d6adbf46e6 Add initial oidc interaction pages 2023-03-19 13:08:06 +01:00
Johannes Zellner 31e900cb9c Add hooks for providing our own login UI 2023-03-19 13:08:06 +01:00
Johannes Zellner bab3de137b Fix typo 2023-03-19 13:08:06 +01:00
Johannes Zellner 4ac70d70f9 oidc: set interaction routes prefix to the same as the main oidc routes 2023-03-19 13:08:06 +01:00
Johannes Zellner 1ea76ebb60 oidc: add initial findAccount and fixup findByUid 2023-03-19 13:08:06 +01:00
Johannes Zellner 47e35d0b06 Support consume api 2023-03-19 13:08:06 +01:00
Johannes Zellner 5fcadcce9c Add initial OpenID connect support
This currently uses a fake json file storage and does not yet verify
credentials
2023-03-19 13:08:06 +01:00