Jens Langhammer
|
79b92e764e
|
*: fix typos in code
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-25 00:01:11 +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 |
|
Denis Teyssier
|
37346763dc
|
sources/oauth: Updating token url to new google url (#1397)
the present url goes to a 404
google openid (https://accounts.google.com/.well-known/openid-configuration) says the new url is `https://oauth2.googleapis.com/token`
not using the new url makes authentik fallback on the default auth flow
|
2021-09-15 09:15:19 +02:00 |
|
Jens Langhammer
|
3ddf2d6f85
|
sources/oauth: fix type lookup for openid not matching
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-14 14:38:35 +02:00 |
|
Jens Langhammer
|
ba6849f29c
|
*: remove string.format()
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-14 12:06:47 +02:00 |
|
Jens Langhammer
|
942170f902
|
Revert "sources/oauth: fix access_token being sent as query param and not authorization header"
This reverts commit 248f993541 .
|
2021-09-14 11:59:32 +02:00 |
|
Jens Langhammer
|
248f993541
|
sources/oauth: fix access_token being sent as query param and not authorization header
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-14 11:07:36 +02:00 |
|
Jens Langhammer
|
3a700a449a
|
sources/oauth: don't try to load azure AD user ID as UUID
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-14 09:33:44 +02:00 |
|
Jens Langhammer
|
c779ad2e3b
|
*: use common user agent for all outgoing requests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-11 21:08:26 +02:00 |
|
Jens Langhammer
|
39b365c6ae
|
sources/oauth: don't cancel flow when redirecting
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-10 16:36:10 +02:00 |
|
Jens Langhammer
|
de3e1c3dbc
|
sources/oauth: fix FlowExecutor view call
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-07 11:39:03 +02:00 |
|
Jens Langhammer
|
3c6aac5435
|
sources/oauth: prevent potentially confidential data from being logged
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-07 11:05:18 +02:00 |
|
Jens Langhammer
|
70d0dd51a5
|
sources/oauth: cancel currently active flows before redirecting out
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-07 11:03:45 +02:00 |
|
Jens Langhammer
|
7fea20375f
|
*: fix tests not using APITestCase
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-02 19:14:21 +02:00 |
|
Jens Langhammer
|
b003e8e1e8
|
sources/oauth: fix openidconnect provider name
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-21 18:36:06 +02:00 |
|
Jens Langhammer
|
3e909ae6bb
|
core: allow filtering users by the groups they are in
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-21 16:27:48 +02:00 |
|
Jens Langhammer
|
b4f738492d
|
sources/oauth: improve UI with prefilled urls (when customizable) and hiding provider type
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-21 15:52:41 +02:00 |
|
Jens Langhammer
|
2a90c0b35e
|
sources/oauth2: migrate to microsoft graph instead of azure graph
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-21 15:15:29 +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
|
9d392931df
|
root: fix lint errors from re-format
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-03 18:09:16 +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
|
2c9b596f01
|
web/admin: run explicit update after loading instance
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-07-03 16:41:42 +02:00 |
|
Jens Langhammer
|
7257108091
|
sources/oauth: create configuration error event when profile can't be parsed as json
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-07-03 16:11:49 +02:00 |
|
dependabot[bot]
|
d102c59654
|
build(deps-dev): bump pylint from 2.8.3 to 2.9.0 (#1095)
* build(deps-dev): bump pylint from 2.8.3 to 2.9.0
Bumps [pylint](https://github.com/PyCQA/pylint) from 2.8.3 to 2.9.0.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Changelog](https://github.com/PyCQA/pylint/blob/master/ChangeLog)
- [Commits](https://github.com/PyCQA/pylint/compare/v2.8.3...v2.9.0)
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* *: update source for new pylint version
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-06-30 10:37:28 +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
|
fb8d67a9d9
|
core: add configure_url to UserSettings for both stages and sources
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-08 19:21:27 +02:00 |
|
Jens Langhammer
|
4f04ab7a5f
|
sources/oauth: fix azure AD get_profile_info not working
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-02 11:34:59 +02:00 |
|
Jens Langhammer
|
35bcd5d174
|
sources/oauth: improve debug logging
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-02 11:34:18 +02:00 |
|
Jens Langhammer
|
1a0f72d0a8
|
Merge branch 'version-2021.5' into next
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
# Conflicts:
# authentik/stages/authenticator_static/api.py
# swagger.yaml
|
2021-05-21 21:33:18 +02:00 |
|
Jens Langhammer
|
a265dd54cc
|
stages/authenticator_*: fix Permission Error when disabling Authenticator as non-superuser
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-21 21:25:03 +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
|
847d97b813
|
sources/oauth: fix google tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-10 00:27:20 +02:00 |
|
Jens Langhammer
|
1f1d322958
|
*: fix api results when non-superuser
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-10 00:01:35 +02:00 |
|
Jens Langhammer
|
b7d828702d
|
sources/oauth: don't set username on google source
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-09 22:56:44 +02:00 |
|
Jens Langhammer
|
04aae8f584
|
sources/oauth: make secret write_only
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-09 21:40:25 +02:00 |
|
Jens Langhammer
|
e674f03064
|
*/api: fix lookups per user
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-04 21:58:20 +02:00 |
|
Jens Langhammer
|
d330e9ee7f
|
web/flows: fix rendering for plex login
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-03 22:08:25 +02:00 |
|
Jens Langhammer
|
be21a5d172
|
sources/plex: add general tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-03 21:55:55 +02:00 |
|
Jens Langhammer
|
35faf269db
|
sources: rewrite onboarding
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-03 20:27:52 +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
|
f1b100c8a5
|
sources/plex: initial plex source implementation
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-02 14:43:51 +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
|
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
|
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
|
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
|
1770e42cbf
|
sources/oauth: add login with plex support
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-16 17:05:35 +02:00 |
|