Jens Langhammer
|
d1d28722d2
|
lib: don't send 404 errors to sentry
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-29 15:27:41 +02:00 |
|
Jens Langhammer
|
35f0e6b88d
|
lib: don't send 404 errors to sentry
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-29 15:25:54 +02:00 |
|
Jens Langhammer
|
a6e528d209
|
core: fix text color of error pages not being white
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-29 15:18:28 +02:00 |
|
Jens Langhammer
|
bb2c4423b0
|
core: fix text color of error pages not being white
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-29 15:17:10 +02:00 |
|
Jens Langhammer
|
2c70301f56
|
stages/invitation: accept token from prompt_data
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-28 22:43:40 +02:00 |
|
Jens Langhammer
|
07b9923bf6
|
stages/invitation: fix token not being loaded correctly
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-28 22:43:40 +02:00 |
|
Jens Langhammer
|
3dcd67c1a3
|
outposts: only kill docker container if its running
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-28 22:43:32 +02:00 |
|
Jens Langhammer
|
2a9feafb90
|
root: add middleware to properly report websocket connection to sentry
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-28 22:42:10 +02:00 |
|
Jens Langhammer
|
1af3357826
|
*: make logger not use .error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-28 22:41:44 +02:00 |
|
Jens Langhammer
|
ed49d7824e
|
stages/email: catch ValueError when global email settings are invalid
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-28 22:41:38 +02:00 |
|
Jens Langhammer
|
378402fcf0
|
stages/user_login: add tests for explicit session length
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-28 22:41:21 +02:00 |
|
Jens Langhammer
|
b2b9093c95
|
web: don't enable ShadyDOM on selenium
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-28 22:40:16 +02:00 |
|
Jens Langhammer
|
afa2afe1d4
|
web/flows: include ShadyDOM, always enable ShadyDOM for flow interface
improve compatibility with password managers and iOS
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-28 22:40:16 +02:00 |
|
Jens Langhammer
|
d7631e8af0
|
stages/invitation: accept token from prompt_data
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-28 22:39:06 +02:00 |
|
Jens Langhammer
|
6e625f7400
|
stages/invitation: fix token not being loaded correctly
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-28 22:13:54 +02:00 |
|
Jens L
|
c4e4e17f93
|
providers/oauth2: add access_code_validity (#795)
closes #794
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-28 21:03:43 +02:00 |
|
Jens Langhammer
|
9b70aaa717
|
outposts: only kill docker container if its running
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-28 18:32:16 +02:00 |
|
Jens Langhammer
|
4d858c64e0
|
Merge branch 'master' into outpost-ldap
|
2021-04-27 17:08:26 +02:00 |
|
Jens Langhammer
|
6f0792ccfe
|
api: remove legacy basic auth for 2021.3 outposts
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-27 17:06:47 +02:00 |
|
Jens Langhammer
|
04f06e00ff
|
api: add tests for permission_required decorator
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-27 17:04:38 +02:00 |
|
Jens Langhammer
|
776c3128b8
|
flows: add tests for stage type, component and ui_user_settings
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-27 16:52:50 +02:00 |
|
Jens Langhammer
|
e9e0992dce
|
root: add middleware to properly report websocket connection to sentry
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-27 16:21:44 +02:00 |
|
Jens Langhammer
|
ccef7b4233
|
*: make logger not use .error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-27 15:43:26 +02:00 |
|
Jens Langhammer
|
cad6c42fdd
|
lib: add more tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-27 15:43:11 +02:00 |
|
Jens Langhammer
|
d2abe6d455
|
stages/email: catch ValueError when global email settings are invalid
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-27 15:20:09 +02:00 |
|
Jens Langhammer
|
68d120b3b4
|
sources/oauth: add tests for google type
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-27 15:19:54 +02:00 |
|
Jens Langhammer
|
48c0c0baca
|
*/api: simplify lookups for per-user
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-27 14:53:01 +02:00 |
|
Jens Langhammer
|
7b29a1e485
|
stages/user_login: add tests for explicit session length
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-27 14:52:42 +02:00 |
|
Jens Langhammer
|
fe28d216fe
|
providers/oauth2: always test JWT keys in tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-27 14:07:04 +02:00 |
|
Jens Langhammer
|
3ce8b836dc
|
outposts: allow outposts to have non-object specific permissions
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-26 23:28:26 +02:00 |
|
Jens Langhammer
|
1d5958a78f
|
providers/ldap: add search_group to limit who can do search requests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-26 23:25:03 +02:00 |
|
Jens Langhammer
|
2a122845d9
|
core: add groups to users
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-26 19:51:24 +02:00 |
|
Jens Langhammer
|
fae4d34131
|
Merge branch 'master' into outpost-ldap
|
2021-04-26 17:11:50 +02:00 |
|
Jens Langhammer
|
7ff7bfeb58
|
core: fix incorrect styling for bse_full template
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-26 16:44:13 +02:00 |
|
Jens Langhammer
|
29da7dd8d6
|
providers/ldap: fix lint error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-26 15:49:19 +02:00 |
|
Jens Langhammer
|
b3c8ffb96c
|
outposts/ldap: use authorization_flow instead of separate field
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-26 15:09:41 +02:00 |
|
Jens Langhammer
|
b35d9ae8b0
|
outposts: fix type not being configurable
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-26 14:45:14 +02:00 |
|
Jens Langhammer
|
302b047f1a
|
outposts/ldap: add controllers
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-26 14:26:31 +02:00 |
|
Jens Langhammer
|
d741ed430a
|
web/admin: add UI for LDAP Provider
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-26 12:12:02 +02:00 |
|
Jens Langhammer
|
f89479caf3
|
providers/ldap: add LDAP provider
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-26 11:52:42 +02:00 |
|
Jens Langhammer
|
5fb07acf54
|
core: add API to check access to single application by slug
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-26 10:08:35 +02:00 |
|
Jens Langhammer
|
99d0d4e8de
|
Merge branch 'master' into outpost-ldap
|
2021-04-26 09:25:26 +02:00 |
|
Jens Langhammer
|
9341787fe7
|
providers/oauth2: replace deprecated jwkest with pyjwt
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-26 00:02:13 +02:00 |
|
Jens Langhammer
|
a525d6c3a9
|
Merge branch 'master' into outpost-ldap
|
2021-04-25 20:46:02 +02:00 |
|
Jens Langhammer
|
502ac51fa7
|
web: don't enable ShadyDOM on selenium
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-25 01:29:01 +02:00 |
|
Jens Langhammer
|
4bc6fd28d4
|
web/flows: include ShadyDOM, always enable ShadyDOM for flow interface
improve compatibility with password managers and iOS
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-24 23:32:46 +02:00 |
|
Jens Langhammer
|
820c9e7d06
|
Merge branch 'master' into outpost-ldap
|
2021-04-24 22:22:01 +02:00 |
|
Jens Langhammer
|
5f58a4566c
|
release: 2021.4.4
|
2021-04-24 21:03:29 +02:00 |
|
Jens Langhammer
|
d616bdd5d6
|
providers/oauth2: add proper support for non-http schemes as redirect URIs
closes #772
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-23 16:34:52 +02:00 |
|
Jens Langhammer
|
3282b34431
|
providers/oauth2: fix TokenView not having CORS headers set even with proper Origin
and added tests. closes #771
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-22 23:48:28 +02:00 |
|
Jens Langhammer
|
392d9bb10b
|
providers/oauth2: fix misleading name of cors_allow_any
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
#771
|
2021-04-22 23:29:49 +02:00 |
|
Jens Langhammer
|
799d186510
|
web/flows: fix Sentry not being loaded correctly
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-22 20:48:22 +02:00 |
|
Jens Langhammer
|
3983b7fbe4
|
lib: don't send SuspiciousOperation to sentry
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-22 20:17:00 +02:00 |
|
Jens Langhammer
|
d75284a587
|
flows: fix errors which occur during flow execution being sent to sentry malformed
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-22 20:14:37 +02:00 |
|
Jens Langhammer
|
a7598c6ee5
|
*: fix more URLs for github org
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-22 11:06:56 +02:00 |
|
Jens Langhammer
|
499b52df6a
|
root: update urls to github org
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-21 22:46:48 +02:00 |
|
Jens Langhammer
|
b8a566f4a0
|
outposts: move local connection check to task, run every 60 minutes
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-21 11:34:48 +02:00 |
|
Jens Langhammer
|
aa0e8edb8b
|
*: make tasks run every 60 minutes not :00 every hour
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-21 11:26:17 +02:00 |
|
Jens Langhammer
|
57072dd6ce
|
stages/identification: fix query logic for user lookup
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-21 10:09:38 +02:00 |
|
Jens Langhammer
|
b40afb9b7d
|
stages/identification: ignore inactive users
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-20 21:45:14 +02:00 |
|
Jens Langhammer
|
1f783dfc01
|
stages/user_login: add default backend
closes #763
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-20 20:53:07 +02:00 |
|
Jens Langhammer
|
76131e40ec
|
tests/e2e: monkey patch OAuth1 test instead of setting URLs manually
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-20 20:03:20 +02:00 |
|
Jens Langhammer
|
a8998a6356
|
sources/oauth: handle error in auzre_ad when ID Can't be extracted
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-20 17:27:52 +02:00 |
|
Jens Langhammer
|
dc75d7b7f0
|
sources/oauth: fix error whilst fetching user profile when source uses fixed URLs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-20 17:25:59 +02:00 |
|
Jens Langhammer
|
e20bb7d636
|
release: 2021.4.3
|
2021-04-20 09:15:07 +02:00 |
|
Jens Langhammer
|
4f5e1fb86b
|
outposts: initial ldap outpost implementation
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-20 00:30:27 +02:00 |
|
Jens Langhammer
|
464a1c0536
|
api: make 401 messages clearer
closes #755
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-19 20:46:57 +02:00 |
|
Jens Langhammer
|
b75feab709
|
outposts: don't run outpost_controller when no service connection is set
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-19 19:23:26 +02:00 |
|
Jens Langhammer
|
10b45a8dea
|
api: fix 401 responses which should be 403s
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-19 19:03:00 +02:00 |
|
Jens Langhammer
|
c43ac1f704
|
api: mount outposts under outposts/instances to match flows
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-19 18:51:12 +02:00 |
|
Jens Langhammer
|
14d702450a
|
core: add parameter to output property mapping test formatted
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-19 18:32:36 +02:00 |
|
Jens Langhammer
|
8a6879afa5
|
core: add superuser_full_list to applications list, shows all applications when superuser
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-19 16:07:30 +02:00 |
|
Jens Langhammer
|
fdc7f14056
|
core: fix Tokens being created with incorrect intent by default
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-19 15:43:16 +02:00 |
|
Jens Langhammer
|
8be80aaf9d
|
api: fix CSRF error when using POST/PATCH/PUT in API Browser
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-19 15:31:32 +02:00 |
|
Jens Langhammer
|
ce082ead5e
|
providers/oauth2: add unittests for authorize and token views
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-18 21:05:49 +02:00 |
|
Jens Langhammer
|
f328b21e89
|
providers/oauth2: Set CORS Headers for token endpoint, check Origin header against redirect URLs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-18 14:20:50 +02:00 |
|
Jens Langhammer
|
52abd959eb
|
sources/oauth: save null instead of empty string for sources without configurable URLs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-17 21:15:06 +02:00 |
|
Jens Langhammer
|
32c5bf04b8
|
*: fix linting errors
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-17 20:08:49 +02:00 |
|
Jens Langhammer
|
0021a93952
|
web/admin: fix non-matching provider type being selected when creating an OAuth Source
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-17 19:17:08 +02:00 |
|
Jens Langhammer
|
67240fb9ad
|
*: add model_name to TypeCreate API to pass to forms
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-17 19:12:00 +02:00 |
|
Jens Langhammer
|
d2dd7d1366
|
sources/oauth: fix redirect loop for source with non-configurable URLs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-17 19:06:12 +02:00 |
|
Jens Langhammer
|
476e57daa2
|
Merge branch 'version-2021.4'
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
# Conflicts:
# docker-compose.yml
# website/docs/installation/kubernetes.md
|
2021-04-17 16:01:35 +02:00 |
|
Jens Langhammer
|
60615c9f3e
|
release: 2021.4.2
|
2021-04-17 15:26:59 +02:00 |
|
Jens Langhammer
|
b5b8573d87
|
core: fix propertymapping API returning invalid value for components
closes #746
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-17 12:01:05 +02:00 |
|
Jens Langhammer
|
2e44c1cdfc
|
sources/ldap: improve error handling during sync
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-17 12:01:05 +02:00 |
|
Jens Langhammer
|
4a444e667a
|
root: base Websocket message storage on Base not fallback
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-17 12:01:05 +02:00 |
|
Jens Langhammer
|
f67b57e369
|
flows: fix linting
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-17 12:01:04 +02:00 |
|
Jens Langhammer
|
262a9fa2a0
|
flows: annotate flows executor 404 error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-17 12:01:04 +02:00 |
|
Jens Langhammer
|
e8ba159756
|
root: fix setting of EMAIL_USE_TLS and EMAIL_USE_SSL
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-17 12:01:04 +02:00 |
|
Jens Langhammer
|
0b03d66a2f
|
outposts: fix errors when creating multiple outposts
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-17 12:01:04 +02:00 |
|
Jens Langhammer
|
71b6839d03
|
flows: include configure_flow in stages API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-17 12:01:04 +02:00 |
|
Jens Langhammer
|
2b48ba4103
|
sources/oauth: fix resolution of sources' provider type
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-17 12:01:03 +02:00 |
|
Jens Langhammer
|
5e67f68f2b
|
core: improve messaging when creating a recovery link for a user when no recovery flow exists
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-17 12:01:03 +02:00 |
|
Jens Langhammer
|
1992b89154
|
sources/oauth: fix error when creating an oauth source which has fixed URLs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-17 12:01:03 +02:00 |
|
Jens Langhammer
|
de74f3ec1f
|
core: fix propertymapping API returning invalid value for components
closes #746
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-17 11:50:28 +02:00 |
|
Jens Langhammer
|
ce98255607
|
sources/ldap: improve error handling during sync
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-17 11:29:51 +02:00 |
|
Jens Langhammer
|
5df9ad63cf
|
root: base Websocket message storage on Base not fallback
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-16 23:46:03 +02:00 |
|
Jens Langhammer
|
e4400476a2
|
flows: fix linting
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-16 23:15:06 +02:00 |
|
Jens Langhammer
|
b136d3bc69
|
flows: annotate flows executor 404 error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-16 22:56:44 +02:00 |
|
Jens Langhammer
|
c34fcc73dc
|
root: fix setting of EMAIL_USE_TLS and EMAIL_USE_SSL
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-16 22:44:42 +02:00 |
|