Jens Langhammer
|
a03dde8a90
|
outposts/ldap: fix type assertion after upgrading to new API Client
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-05-27 16:36:15 +02:00 |
Jens L
|
a286f999e2
|
api: migrate to openapi generator v6 (#2968)
* migrate to openapi generator v6
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* bump api
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-05-26 15:15:30 +02:00 |
Jens Langhammer
|
646d174dd2
|
internal: revert cookie path on proxy causing redirect loops
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-05-21 16:26:12 +02:00 |
Jens Langhammer
|
5c91658484
|
internal: fix nil pointer dereference in ldap outpost
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-05-21 15:48:50 +02:00 |
Jens Langhammer
|
ebb44c992b
|
Revert "internal: set SameSite for outpost"
This reverts commit 7e95c756b9 .
|
2022-05-21 14:08:40 +02:00 |
Jens Langhammer
|
7e95c756b9
|
internal: set SameSite for outpost
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-05-21 13:21:45 +02:00 |
Jens Langhammer
|
be26b92927
|
internal: cleanup outpost logs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-05-21 13:18:06 +02:00 |
Jens Langhammer
|
6f56a61a64
|
website/docs: add docs for advanced SSH config
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
#2916
|
2022-05-21 13:06:54 +02:00 |
Jens Langhammer
|
a52638d898
|
internal: fix typo in session name constant
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-05-20 10:10:29 +02:00 |
Jens Langhammer
|
421b003218
|
internal: set path on cookie for proxy
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
#2305
|
2022-05-11 10:08:38 +02:00 |
Jens Langhammer
|
25a4310bb1
|
internal: use Expires not MaxAge for LDAP session
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-05-11 10:04:32 +02:00 |
dependabot[bot]
|
4d755dc0f6
|
build(deps): bump goauthentik.io/api/v3 from 3.2022041.4 to 3.2022041.5 (#2843)
* build(deps): bump goauthentik.io/api/v3 from 3.2022041.4 to 3.2022041.5
Bumps [goauthentik.io/api/v3](https://github.com/goauthentik/client-go) from 3.2022041.4 to 3.2022041.5.
- [Release notes](https://github.com/goauthentik/client-go/releases)
- [Commits](https://github.com/goauthentik/client-go/compare/v3.2022041.4...v3.2022041.5)
---
updated-dependencies:
- dependency-name: goauthentik.io/api/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix
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>
|
2022-05-10 20:33:19 +02:00 |
Jens L
|
ab2299ba1e
|
outposts/ldap: cached bind (#2824)
* initial cached ldap bind support
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* add web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* add docs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* clean up api generation
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* use gh action for golangci-lint
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-05-08 16:48:53 +02:00 |
Jens Langhammer
|
9b6e47e6b8
|
outposts/ldap: fix panic in type conversion when value is nil
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-04-11 15:52:58 +02:00 |
Jens Langhammer
|
b46eb7198b
|
internal: handle log level not being set in config
closes #2650
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-04-03 13:23:55 +02:00 |
Jens Langhammer
|
51194cbf42
|
outposts/ldap: use backend group num_pk
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-03-22 23:54:50 +01:00 |
Jens Langhammer
|
b45a442447
|
outposts/ldap: fix contexts
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-03-19 18:28:27 +01:00 |
Simon Siebert
|
75a720ead1
|
outposts/ldap: prevent operations error from nil dereference (#2447)
closes #2526
|
2022-03-19 18:26:26 +01:00 |
Jens Langhammer
|
76660e4666
|
internal: add tests with querystring
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-03-07 22:03:36 +01:00 |
Jens Langhammer
|
62a939b91d
|
internal: bump api client to v3
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-03-03 10:40:07 +01:00 |
Jens Langhammer
|
6fdf3ad3e5
|
internal/outpost: improve logging and add tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
#2393
|
2022-02-26 22:29:56 +01:00 |
Jens Langhammer
|
fb33906637
|
internal/ldap: fix panic when parsing lists with mixed types
closes #2355
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-02-22 19:56:55 +01:00 |
Jens Langhammer
|
744f250d05
|
providers/proxy: always set rd param in addition to session to prevent wrong url in session
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-02-18 10:32:22 +01:00 |
Jens Langhammer
|
19b1f3a8c1
|
internal/outpost: fix logic error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-02-17 20:50:47 +01:00 |
Jens Langhammer
|
45f2c5bae7
|
web/admin: fix invalid URLs in example proxy config
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-02-15 23:24:27 +01:00 |
Jens Langhammer
|
5d8c1aa0b0
|
outposts/proxy: correctly check host in forward domain redirect
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
#1997
|
2022-02-15 14:58:19 +01:00 |
Jens Langhammer
|
0101368369
|
outposts/proxy: fix logic error in rd argument
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
#1997
|
2022-02-15 13:43:55 +01:00 |
Jens Langhammer
|
4854f81592
|
outposts/proxy: correctly handle ?rd= param
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
#1997
|
2022-02-15 11:05:03 +01:00 |
Jens Langhammer
|
908f123d0e
|
website/docs: update nginx config
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-02-15 10:24:08 +01:00 |
Jens Langhammer
|
3d577cf15e
|
*: add placeholder custom.css to easily allow user customisation
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-02-14 20:05:00 +01:00 |
Jens Langhammer
|
4915e980c5
|
providers/proxy: revert Host header behaviour
closes #2284
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-02-14 12:39:16 +01:00 |
Jens Langhammer
|
e5a393c534
|
internal: increase logging for no hostname found
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-02-13 14:36:56 +01:00 |
Jens Langhammer
|
1f838bb2aa
|
outposts/proxy: add X-Forwarded-Host since Host now gets changed by the proxy
closes #2284
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-02-10 23:09:55 +01:00 |
Jens Langhammer
|
affbf85699
|
internal: don't attempt to lookup SNI Certificate if no SNI is sent
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-02-09 12:33:25 +01:00 |
Jens L
|
4343246a41
|
*: rename akprox to outpost.goauthentik.io (#2266)
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-02-08 20:25:38 +01:00 |
Jens Langhammer
|
7088a6b0e6
|
providers/proxy: fix Host/:Authority not being modified
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-02-08 16:30:26 +01:00 |
Jens Langhammer
|
e758995458
|
providers/proxy: improve error handling for invalid backend_override
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-02-07 19:59:06 +01:00 |
Jens Langhammer
|
654e0d6245
|
providers/proxy: fix nil error in claims
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-02-03 17:58:38 +01:00 |
Jens Langhammer
|
f5cc6c67ec
|
providers/proxy: fix routing for external_host when using forward_auth_domain
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
#2180
|
2022-02-01 10:14:46 +01:00 |
Jens Langhammer
|
6021fc0f52
|
providers/proxy: fix backend override persisting for other users
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-30 22:29:34 +01:00 |
Jens Langhammer
|
7fd6be5abb
|
providers/proxy: add backend_override
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-30 21:35:08 +01:00 |
Jens Langhammer
|
67d550a80d
|
providers/proxy: don't include hostname and scheme in redirect when we only got a path and not a full URL
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-27 18:23:08 +01:00 |
Jens Langhammer
|
ebb5711c32
|
providers/proxy: add support for X-Original-URI in nginx, better handle missing headers and report errors to authentik
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-27 18:14:02 +01:00 |
Jens Langhammer
|
96ae68cf09
|
internal: make error message less confusing
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-25 15:45:21 +01:00 |
Jens Langhammer
|
63b3434b6f
|
website/docs: improve nginx examples
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-25 14:25:21 +01:00 |
Ilya Kogan
|
947ecec02b
|
outposts/ldap: Fix more case sensitivity issues. (#2144)
|
2022-01-25 11:27:27 +01:00 |
Jens Langhammer
|
1c2b452406
|
outposts/proxy: fix potential empty redirect, add tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
#2141
|
2022-01-25 10:57:53 +01:00 |
Jens Langhammer
|
650e2cbc38
|
internal: remove duplicate log messages
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-24 22:25:35 +01:00 |
Jens Langhammer
|
b32800ea71
|
outposts/proxy: trace full headers to debug
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-24 22:08:31 +01:00 |
Jens Langhammer
|
e1c0c0b20c
|
internal: don't override server header
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-24 22:05:11 +01:00 |