Jens Langhammer
|
4e4e2b36b6
|
sources/saml: fix server error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-02-05 15:41:26 +01:00 |
Jens Langhammer
|
eaba8006e6
|
sources/saml: fix incorrect ProtocolBinding being sent
closes #2213
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-02-03 18:20:06 +01:00 |
Jens Langhammer
|
c249b55ff5
|
*: use py3.10 syntax for unions, remove old Type[] import when possible
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-30 14:59:01 +01:00 |
Jens Langhammer
|
e4841d54a1
|
*: migrate ui_* properties to functions to allow context being passed
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-13 23:56:35 +01:00 |
Jens Langhammer
|
a9bd34f3c5
|
events: revert to @prefill_task decorator since base class doesn't get executed until task runs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-09 10:18:00 +01:00 |
Jens Langhammer
|
cf78c89830
|
events: replace @prefill_task with custom base class to prefill
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-02 13:47:35 +01:00 |
Jens Langhammer
|
f0d7edb963
|
*: fix @prefill_task
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-02 10:05:51 +01:00 |
Jens Langhammer
|
0b8cfd437b
|
*: fix typo'd signing pair name
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-24 09:55:10 +01:00 |
Jens L
|
9bb0d04aeb
|
root: Random tests (#1825)
* root: add pytest-randomly to randomise tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* *: generate flows for testing instead of relying on existing ones
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* *: generate users for testing instead of relying on existing ones
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* *: use generated certificate
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* tests/e2e: keep containers
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* tests/e2e: use websockets test case
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-22 22:56:02 +01:00 |
Jens Langhammer
|
4b7399f454
|
*: add @prefill_task() decorator to "pre-fill" tasks in cache, so they can be executed even before their schedule would do so
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-10-14 12:21:28 +02:00 |
Jens L
|
e4f141c6c0
|
*: Squash Migrations (#1593)
* *: first squash pass
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* sources/saml: squash less
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* outposts: fix docker controller not correctly checking image
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* tests/e2e: fix old migration reference
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-10-11 21:39:35 +02:00 |
Jens L
|
f9ad102915
|
flows: inspector (#1469)
* flows: add initial inspector
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* flows: change naming a bit
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/flow: add inspector frame
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: don't use shadydom when inspecting
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* flows: add current stage to api
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* stages/*: fix imports
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* flows: deep-copy plan instead of just adding
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/flows: ui
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* flows: restrict inspector to admin
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/admin: add buttons to launch flow with inspector
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/flows: don't automatically follow redirects when inspector is open
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* flows: make current_plan optional, only require historry
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/flows: handle error messages in inspector
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/flows: improve UI when flow is done
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* flows: add is_completed flag to inspector
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* flows: fix monkeypatches for tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* flows: add inspector tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* ci: re-enable cache
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-28 09:36:48 +02:00 |
Jens Langhammer
|
d900a2b6a9
|
*: fix lookup_fields
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-20 19:19:36 +02:00 |
Jens Langhammer
|
b5c857aff4
|
api: add explicit lookup_value_regex, disable include_format_suffixes
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-20 13:42:56 +02:00 |
Jens L
|
13e2eea72f
|
web/user: new end-user interface (#1404)
* web/user: migrate to top navbar
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/user: prepare config from server
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* re-sort
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* remove old interface
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* update issue template
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* use notification badge
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/user: re-add go-to-admin button
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* *: fix remaining redirects directly to admin
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* make settings better
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* api: ensure sources and stages are sorted
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/user: add sessions and consent
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* providers/oauth2: add post wrapper to stage
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* website/docs: add new interface to release notes
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-16 22:17:05 +02:00 |
Jens Langhammer
|
5af9a3d3be
|
sources/saml: fix error when getting metadata
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-24 16:51:08 +02:00 |
Jens Langhammer
|
69a0153619
|
core: use custom inbuilt backend, set backend login information in flow plan for events
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-23 17:09:53 +02:00 |
Jens Langhammer
|
9c9addb0ce
|
*: ensure all resources can be filtered
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-07 16:34:14 +02:00 |
Jens Langhammer
|
77ed25ae34
|
root: reformat to 100 line width
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-03 17:45:16 +02:00 |
Jens Langhammer
|
ba9edd6c44
|
flows: handle possible errors with FlowPlans received from cache
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-27 22:03:48 +02:00 |
Jens Langhammer
|
4ca564490e
|
providers/saml: add support for NameID type unspecified
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-17 12:45:53 +02:00 |
Jens Langhammer
|
fcb795c273
|
providers/saml: fix NameIDPolicy not being parsed correctly, improve error handling
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-17 12:22:40 +02:00 |
Jens Langhammer
|
f4ac2f50e2
|
sources/saml: check sessions before deleting user
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-13 12:39:10 +02:00 |
Jens Langhammer
|
10d949f7a9
|
stages/password: add constants for password backends
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-12 12:14:55 +02:00 |
Jens L
|
34ae9e6dab
|
API: add endpoint to show by what objects an object is used (#995)
* core: add used_by API to show what objects are affected before deletion
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/elements: add support for used_by API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: add authentik_used_by_shadows to shadow other models
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: implement used_by API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* *: fix duplicate imports
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: add action field to used_by api
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: add UI for used_by action
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: add notice to tenant form
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: fix naming in used_by
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: check length for used_by
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: fix used_by for non-pk models
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* *: improve __str__ on models
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: add support for many to many in used_by
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-10 11:58:12 +02:00 |
Jens Langhammer
|
029d58191e
|
sources/saml: include metadata download link in API response
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-08 17:22:03 +02:00 |
Jens Langhammer
|
6f3eb4c068
|
flows: allow blank on WithUserInfo
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-25 12:53:48 +02:00 |
Jens Langhammer
|
1324d03815
|
*: initial migration to openapi v3
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-15 23:57:28 +02:00 |
Jens Langhammer
|
d51ecc4554
|
sources/saml: handle internal error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-06 20:10:56 +02:00 |
Jens Langhammer
|
e56c3fc54c
|
Merge branch 'master' into plex-auth
|
2021-05-03 18:28:53 +02:00 |
Jens Langhammer
|
1041718e27
|
sources/saml: fix redirect url dropping non-standard ports
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-03 14:51:46 +02:00 |
Jens Langhammer
|
55250e88e5
|
sources/*: rewrite UILoginButton to return challenge instead
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-02 16:46:27 +02:00 |
Jens Langhammer
|
379fcf9c1f
|
sources/saml: fix error ValueError while decoding XML
closes #812
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-01 00:18:57 +02:00 |
Jens Langhammer
|
e10a7b48b7
|
sources/saml: fix Redirect bindings when SSO Url already has query params
related to #812
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-30 23:44:04 +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
|
07702afe68
|
sources/saml: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-02 13:12:31 +02:00 |
Jens L
|
46f4493f04
|
policies: configurable engine mode (#682)
* policies: add policy_engine_mode field, defaults to MODE_ALL
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* *: add policy_engine_mode to API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* *: add policy_engine_mode to forms
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* policies: update default for new objects
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* docs: add to release notes
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-31 14:14:56 +02:00 |
Jens Langhammer
|
69ee18e13d
|
Merge branch 'master' into new-forms
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
# Conflicts:
# Pipfile.lock
# authentik/api/decorators.py
# authentik/core/api/applications.py
# authentik/core/api/users.py
# authentik/events/api/event.py
# authentik/events/api/notification_transport.py
# authentik/flows/api/flows.py
# swagger.yaml
|
2021-03-30 10:26:18 +02:00 |
dependabot[bot]
|
c180a521ec
|
build(deps-dev): bump pylint from 2.7.2 to 2.7.3 (#674)
* build(deps-dev): bump pylint from 2.7.2 to 2.7.3
Bumps [pylint](https://github.com/PyCQA/pylint) from 2.7.2 to 2.7.3.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Changelog](https://github.com/PyCQA/pylint/blob/master/ChangeLog)
- [Commits](https://github.com/PyCQA/pylint/compare/pylint-2.7.2...pylint-2.7.3)
Signed-off-by: dependabot[bot] <support@github.com>
* sources/saml: fix linting for SAMLBindingTypes.Redirect
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* sources/oauth: Fix linting for RequestKind
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* flows: fix linting for ChallengeTypes
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-30 10:05:14 +02:00 |
Jens Langhammer
|
7d74e1d2c4
|
*: revert to drf-yasg upstream
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-29 21:04:54 +02:00 |
Jens Langhammer
|
f41f2bfdab
|
sources/saml: use STAGE_CONFIGURATION for default-source-pre-authentication flow
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-24 17:12:41 +01:00 |
Jens Langhammer
|
5a5539da97
|
sources/saml: fix failing unittests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-24 09:55:43 +01:00 |
Jens Langhammer
|
4612cea970
|
sources/saml: replace server-side pre-auth views for pre_auth flow
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-24 09:22:15 +01:00 |
Jens L
|
fe7f23238c
|
Static SPA (#648)
* core: initial migration to /if
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: move jsi18n to api
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* tests: fix static URLs in tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: add new html files to rollup
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: fix rollup config and nginx config
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: add Impersonation support to user API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: add banner for impersonation
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* tests: fix test_user function for new User API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* flows: add background to API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: set background from flow API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: make root view login_required for redirect
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* flows: redirect to root-redirect instead of if-admin direct
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* api: add header to prevent Authorization Basic prompt in browser
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: redirect to root when user/me request fails
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-22 13:44:17 +01:00 |
Jens Langhammer
|
fd9ba97479
|
core: remove source's ui_additional_info
|
2021-03-01 16:57:51 +01:00 |
Jens Langhammer
|
d6fd2b0afa
|
sources/saml: add Metadata API
|
2021-03-01 10:50:45 +01:00 |
Jens Langhammer
|
511f94fc7f
|
*: cleanup code, return errors in challenge_invalid, fixup rendering
|
2021-02-20 23:34:10 +01:00 |
Jens Langhammer
|
bdb86d7119
|
*: replace shortcuts.reverse with urls.reverse
|
2021-02-20 19:13:50 +01:00 |
Jens Langhammer
|
0e975757b8
|
core: remove UILoginButton's icon_path
|
2021-02-20 18:26:43 +01:00 |
Jens Langhammer
|
fdde97cbbf
|
*: replace Dict from typing with normal dict
|
2021-02-18 13:41:03 +01:00 |