diff --git a/go.mod b/go.mod index 35bc42d33..df2a1d6eb 100644 --- a/go.mod +++ b/go.mod @@ -27,10 +27,12 @@ require ( github.com/quasoft/memstore v0.0.0-20191010062613-2bce066d2b0b github.com/sirupsen/logrus v1.8.1 github.com/stretchr/testify v1.7.0 - goauthentik.io/api v0.2021125.1 - golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c + goauthentik.io/api/v3 v3.2022021.4 + golang.org/x/net v0.0.0-20220225172249-27dd8689420f // indirect + golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b golang.org/x/sync v0.0.0-20210220032951-036812b2e83c google.golang.org/appengine v1.6.7 // indirect + google.golang.org/protobuf v1.27.1 // indirect gopkg.in/boj/redistore.v1 v1.0.0-20160128113310-fc113767cd6b gopkg.in/square/go-jose.v2 v2.5.1 // indirect gopkg.in/yaml.v2 v2.4.0 diff --git a/go.sum b/go.sum index b455634e1..829558da1 100644 --- a/go.sum +++ b/go.sum @@ -466,6 +466,8 @@ go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= goauthentik.io/api v0.2021125.1 h1:Ja00N1D1wjqFiR90JV8nDayhmm39uLudzsJhwCjoQJ4= goauthentik.io/api v0.2021125.1/go.mod h1:02nnD4FRd8lu8A1+ZuzqownBgvAhdCKzqkKX8v7JMTE= +goauthentik.io/api/v3 v3.2022021.4 h1:vAbJJXq+SvXnrdeymby4KTqR4cDe9qweNWwqqkJanzo= +goauthentik.io/api/v3 v3.2022021.4/go.mod h1:QM9J32HgYE4gL71lWAfAoXSPdSmLVLW08itfLI3Mo10= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= @@ -551,6 +553,8 @@ golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qx golang.org/x/net v0.0.0-20211008194852-3b03d305991f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd h1:O7DYs+zxREGLKzKoMQrtrEacpb0ZVXA5rIwylE2Xchk= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220225172249-27dd8689420f h1:oA4XRj0qtSt8Yo1Zms0CUlsT3KG69V2UGQWPBxujDmc= +golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -559,6 +563,8 @@ golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4Iltr golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c h1:pkQiBZBvdos9qq4wBAHqlzuZHEXo07pqV06ef90u1WI= golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b h1:clP8eMhB30EHdc0bd2Twtq6kgU7yl5ub2cQLSdrv1Dg= +golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -772,6 +778,8 @@ google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlba google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0 h1:bxAC2xTBsZGibn2RTntX0oH50xLsqy1OxA9tTL3p/lk= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ= +google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/boj/redistore.v1 v1.0.0-20160128113310-fc113767cd6b h1:U/Uqd1232+wrnHOvWNaxrNqn/kFnr4yu4blgPtQt0N8= gopkg.in/boj/redistore.v1 v1.0.0-20160128113310-fc113767cd6b/go.mod h1:fgfIZMlsafAHpspcks2Bul+MWUNw/2dyQmjC2faKjtg= diff --git a/internal/outpost/ak/api.go b/internal/outpost/ak/api.go index 48a926831..6cce5b579 100644 --- a/internal/outpost/ak/api.go +++ b/internal/outpost/ak/api.go @@ -15,7 +15,7 @@ import ( "github.com/google/uuid" "github.com/gorilla/websocket" "github.com/prometheus/client_golang/prometheus" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/constants" log "github.com/sirupsen/logrus" diff --git a/internal/outpost/ak/crypto.go b/internal/outpost/ak/crypto.go index 21880a17f..16042d7e1 100644 --- a/internal/outpost/ak/crypto.go +++ b/internal/outpost/ak/crypto.go @@ -5,7 +5,7 @@ import ( "crypto/tls" log "github.com/sirupsen/logrus" - "goauthentik.io/api" + "goauthentik.io/api/v3" ) type CryptoStore struct { diff --git a/internal/outpost/ak/global.go b/internal/outpost/ak/global.go index 7a290a271..03aec39e0 100644 --- a/internal/outpost/ak/global.go +++ b/internal/outpost/ak/global.go @@ -9,7 +9,7 @@ import ( "github.com/getsentry/sentry-go" httptransport "github.com/go-openapi/runtime/client" log "github.com/sirupsen/logrus" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/constants" ) diff --git a/internal/outpost/ak/test.go b/internal/outpost/ak/test.go index 9e4885d72..50a54f6c2 100644 --- a/internal/outpost/ak/test.go +++ b/internal/outpost/ak/test.go @@ -10,7 +10,7 @@ import ( "github.com/google/uuid" "github.com/gorilla/securecookie" log "github.com/sirupsen/logrus" - "goauthentik.io/api" + "goauthentik.io/api/v3" ) func TestSecret() string { diff --git a/internal/outpost/flow/executor.go b/internal/outpost/flow/executor.go index 807e576f4..cc3232c91 100644 --- a/internal/outpost/flow/executor.go +++ b/internal/outpost/flow/executor.go @@ -14,7 +14,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" log "github.com/sirupsen/logrus" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/constants" "goauthentik.io/internal/outpost/ak" ) diff --git a/internal/outpost/ldap/bind/direct/direct.go b/internal/outpost/ldap/bind/direct/direct.go index 7574aa4a7..b559c922b 100644 --- a/internal/outpost/ldap/bind/direct/direct.go +++ b/internal/outpost/ldap/bind/direct/direct.go @@ -10,7 +10,7 @@ import ( "github.com/nmcclain/ldap" "github.com/prometheus/client_golang/prometheus" log "github.com/sirupsen/logrus" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/outpost/flow" "goauthentik.io/internal/outpost/ldap/bind" "goauthentik.io/internal/outpost/ldap/flags" diff --git a/internal/outpost/ldap/entries.go b/internal/outpost/ldap/entries.go index 043c1feeb..aa6e7b214 100644 --- a/internal/outpost/ldap/entries.go +++ b/internal/outpost/ldap/entries.go @@ -2,7 +2,7 @@ package ldap import ( "github.com/nmcclain/ldap" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/outpost/ldap/constants" "goauthentik.io/internal/outpost/ldap/utils" ) diff --git a/internal/outpost/ldap/flags/flags.go b/internal/outpost/ldap/flags/flags.go index 8a774d19f..c53a1dc20 100644 --- a/internal/outpost/ldap/flags/flags.go +++ b/internal/outpost/ldap/flags/flags.go @@ -1,6 +1,6 @@ package flags -import "goauthentik.io/api" +import "goauthentik.io/api/v3" type UserFlags struct { UserInfo *api.User diff --git a/internal/outpost/ldap/group/group.go b/internal/outpost/ldap/group/group.go index b7f02a079..0f1f5d48f 100644 --- a/internal/outpost/ldap/group/group.go +++ b/internal/outpost/ldap/group/group.go @@ -2,7 +2,7 @@ package group import ( "github.com/nmcclain/ldap" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/outpost/ldap/constants" "goauthentik.io/internal/outpost/ldap/server" "goauthentik.io/internal/outpost/ldap/utils" diff --git a/internal/outpost/ldap/instance.go b/internal/outpost/ldap/instance.go index b08ff5abf..606be3ce2 100644 --- a/internal/outpost/ldap/instance.go +++ b/internal/outpost/ldap/instance.go @@ -9,7 +9,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/nmcclain/ldap" log "github.com/sirupsen/logrus" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/constants" "goauthentik.io/internal/outpost/ldap/bind" ldapConstants "goauthentik.io/internal/outpost/ldap/constants" diff --git a/internal/outpost/ldap/refresh.go b/internal/outpost/ldap/refresh.go index dec2fc7d1..cd5fd9529 100644 --- a/internal/outpost/ldap/refresh.go +++ b/internal/outpost/ldap/refresh.go @@ -9,7 +9,7 @@ import ( "github.com/go-openapi/strfmt" log "github.com/sirupsen/logrus" - "goauthentik.io/api" + "goauthentik.io/api/v3" directbind "goauthentik.io/internal/outpost/ldap/bind/direct" "goauthentik.io/internal/outpost/ldap/constants" "goauthentik.io/internal/outpost/ldap/flags" diff --git a/internal/outpost/ldap/search/direct/direct.go b/internal/outpost/ldap/search/direct/direct.go index 52769dde0..6df9cd32e 100644 --- a/internal/outpost/ldap/search/direct/direct.go +++ b/internal/outpost/ldap/search/direct/direct.go @@ -11,7 +11,7 @@ import ( "github.com/getsentry/sentry-go" "github.com/nmcclain/ldap" "github.com/prometheus/client_golang/prometheus" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/outpost/ldap/constants" "goauthentik.io/internal/outpost/ldap/group" "goauthentik.io/internal/outpost/ldap/metrics" diff --git a/internal/outpost/ldap/search/memory/fetch.go b/internal/outpost/ldap/search/memory/fetch.go index 410efe86d..b8b6d1ba8 100644 --- a/internal/outpost/ldap/search/memory/fetch.go +++ b/internal/outpost/ldap/search/memory/fetch.go @@ -3,7 +3,7 @@ package memory import ( "context" - "goauthentik.io/api" + "goauthentik.io/api/v3" ) const pageSize = 100 diff --git a/internal/outpost/ldap/search/memory/memory.go b/internal/outpost/ldap/search/memory/memory.go index 3abb14e00..1b5142c92 100644 --- a/internal/outpost/ldap/search/memory/memory.go +++ b/internal/outpost/ldap/search/memory/memory.go @@ -9,7 +9,7 @@ import ( "github.com/nmcclain/ldap" "github.com/prometheus/client_golang/prometheus" log "github.com/sirupsen/logrus" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/outpost/ldap/constants" "goauthentik.io/internal/outpost/ldap/group" "goauthentik.io/internal/outpost/ldap/metrics" diff --git a/internal/outpost/ldap/server/base.go b/internal/outpost/ldap/server/base.go index 4317a383d..b42c02057 100644 --- a/internal/outpost/ldap/server/base.go +++ b/internal/outpost/ldap/server/base.go @@ -3,7 +3,7 @@ package server import ( "github.com/go-openapi/strfmt" "github.com/nmcclain/ldap" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/outpost/ldap/flags" ) diff --git a/internal/outpost/ldap/utils.go b/internal/outpost/ldap/utils.go index e66a0182e..c791aa5ea 100644 --- a/internal/outpost/ldap/utils.go +++ b/internal/outpost/ldap/utils.go @@ -6,7 +6,7 @@ import ( "strconv" "strings" - "goauthentik.io/api" + "goauthentik.io/api/v3" ) func (pi *ProviderInstance) GroupsForUser(user api.User) []string { diff --git a/internal/outpost/ldap/utils/utils_group.go b/internal/outpost/ldap/utils/utils_group.go index c0a159973..567001e34 100644 --- a/internal/outpost/ldap/utils/utils_group.go +++ b/internal/outpost/ldap/utils/utils_group.go @@ -6,7 +6,7 @@ import ( goldap "github.com/go-ldap/ldap/v3" ber "github.com/nmcclain/asn1-ber" "github.com/nmcclain/ldap" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/outpost/ldap/constants" ) diff --git a/internal/outpost/ldap/utils/utils_test.go b/internal/outpost/ldap/utils/utils_test.go index dcffffab0..07eba41f3 100644 --- a/internal/outpost/ldap/utils/utils_test.go +++ b/internal/outpost/ldap/utils/utils_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "goauthentik.io/api" + "goauthentik.io/api/v3" ) func TestAKAttrsToLDAP_String(t *testing.T) { diff --git a/internal/outpost/ldap/utils/utils_user.go b/internal/outpost/ldap/utils/utils_user.go index 3a06e6fa6..5516268aa 100644 --- a/internal/outpost/ldap/utils/utils_user.go +++ b/internal/outpost/ldap/utils/utils_user.go @@ -4,7 +4,7 @@ import ( goldap "github.com/go-ldap/ldap/v3" ber "github.com/nmcclain/asn1-ber" "github.com/nmcclain/ldap" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/outpost/ldap/constants" ) diff --git a/internal/outpost/proxyv2/application/application.go b/internal/outpost/proxyv2/application/application.go index 72e19adc0..fd67a4181 100644 --- a/internal/outpost/proxyv2/application/application.go +++ b/internal/outpost/proxyv2/application/application.go @@ -20,7 +20,7 @@ import ( "github.com/pkg/errors" "github.com/prometheus/client_golang/prometheus" log "github.com/sirupsen/logrus" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/outpost/ak" "goauthentik.io/internal/outpost/proxyv2/constants" "goauthentik.io/internal/outpost/proxyv2/hs256" diff --git a/internal/outpost/proxyv2/application/endpoint.go b/internal/outpost/proxyv2/application/endpoint.go index e73aef725..d82b43eaf 100644 --- a/internal/outpost/proxyv2/application/endpoint.go +++ b/internal/outpost/proxyv2/application/endpoint.go @@ -6,7 +6,7 @@ import ( "strings" log "github.com/sirupsen/logrus" - "goauthentik.io/api" + "goauthentik.io/api/v3" "golang.org/x/oauth2" ) diff --git a/internal/outpost/proxyv2/application/mode_common.go b/internal/outpost/proxyv2/application/mode_common.go index 1af549bda..a74831494 100644 --- a/internal/outpost/proxyv2/application/mode_common.go +++ b/internal/outpost/proxyv2/application/mode_common.go @@ -9,7 +9,7 @@ import ( "net/url" "strings" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/constants" ) diff --git a/internal/outpost/proxyv2/application/mode_common_test.go b/internal/outpost/proxyv2/application/mode_common_test.go index 360a2a042..a258cf17d 100644 --- a/internal/outpost/proxyv2/application/mode_common_test.go +++ b/internal/outpost/proxyv2/application/mode_common_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "goauthentik.io/api" + "goauthentik.io/api/v3" ) func urlMustParse(u string) *url.URL { diff --git a/internal/outpost/proxyv2/application/mode_forward.go b/internal/outpost/proxyv2/application/mode_forward.go index 1d06dd5e8..e0e481f0c 100644 --- a/internal/outpost/proxyv2/application/mode_forward.go +++ b/internal/outpost/proxyv2/application/mode_forward.go @@ -6,7 +6,7 @@ import ( "net/url" "strings" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/outpost/proxyv2/constants" "goauthentik.io/internal/utils/web" ) diff --git a/internal/outpost/proxyv2/application/mode_forward_nginx_test.go b/internal/outpost/proxyv2/application/mode_forward_nginx_test.go index 5d2681ae0..d8c7d0fd7 100644 --- a/internal/outpost/proxyv2/application/mode_forward_nginx_test.go +++ b/internal/outpost/proxyv2/application/mode_forward_nginx_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/outpost/proxyv2/constants" ) diff --git a/internal/outpost/proxyv2/application/mode_forward_traefik_test.go b/internal/outpost/proxyv2/application/mode_forward_traefik_test.go index 5767a8885..9aae3a0c2 100644 --- a/internal/outpost/proxyv2/application/mode_forward_traefik_test.go +++ b/internal/outpost/proxyv2/application/mode_forward_traefik_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/outpost/proxyv2/constants" ) diff --git a/internal/outpost/proxyv2/application/oauth.go b/internal/outpost/proxyv2/application/oauth.go index 48931daf0..833887eb3 100644 --- a/internal/outpost/proxyv2/application/oauth.go +++ b/internal/outpost/proxyv2/application/oauth.go @@ -8,7 +8,7 @@ import ( "time" "github.com/gorilla/securecookie" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/outpost/proxyv2/constants" ) diff --git a/internal/outpost/proxyv2/application/oauth_test.go b/internal/outpost/proxyv2/application/oauth_test.go index 88566a304..16cdfb2df 100644 --- a/internal/outpost/proxyv2/application/oauth_test.go +++ b/internal/outpost/proxyv2/application/oauth_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "goauthentik.io/api" + "goauthentik.io/api/v3" ) func TestCheckRedirectParam(t *testing.T) { diff --git a/internal/outpost/proxyv2/application/session.go b/internal/outpost/proxyv2/application/session.go index 390d0f246..80b542810 100644 --- a/internal/outpost/proxyv2/application/session.go +++ b/internal/outpost/proxyv2/application/session.go @@ -7,7 +7,7 @@ import ( "strconv" "github.com/gorilla/sessions" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/config" "gopkg.in/boj/redistore.v1" ) diff --git a/internal/outpost/proxyv2/application/test.go b/internal/outpost/proxyv2/application/test.go index c87e7cbfc..e5f397769 100644 --- a/internal/outpost/proxyv2/application/test.go +++ b/internal/outpost/proxyv2/application/test.go @@ -4,7 +4,7 @@ import ( "net/http" "github.com/quasoft/memstore" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/outpost/ak" ) diff --git a/internal/outpost/proxyv2/application/utils.go b/internal/outpost/proxyv2/application/utils.go index 7f53c8647..0585068a4 100644 --- a/internal/outpost/proxyv2/application/utils.go +++ b/internal/outpost/proxyv2/application/utils.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/outpost/proxyv2/constants" ) diff --git a/internal/outpost/proxyv2/application/utils_test.go b/internal/outpost/proxyv2/application/utils_test.go index 6f4e84aa1..1cc6c3a9b 100644 --- a/internal/outpost/proxyv2/application/utils_test.go +++ b/internal/outpost/proxyv2/application/utils_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/outpost/proxyv2/constants" ) diff --git a/internal/outpost/proxyv2/handlers.go b/internal/outpost/proxyv2/handlers.go index 511380bb1..8b6a21931 100644 --- a/internal/outpost/proxyv2/handlers.go +++ b/internal/outpost/proxyv2/handlers.go @@ -8,7 +8,7 @@ import ( "time" "github.com/prometheus/client_golang/prometheus" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/outpost/proxyv2/application" "goauthentik.io/internal/outpost/proxyv2/metrics" "goauthentik.io/internal/utils/web" diff --git a/internal/outpost/proxyv2/proxyv2.go b/internal/outpost/proxyv2/proxyv2.go index 916a9fca0..8159e27c0 100644 --- a/internal/outpost/proxyv2/proxyv2.go +++ b/internal/outpost/proxyv2/proxyv2.go @@ -13,7 +13,7 @@ import ( "github.com/gorilla/mux" "github.com/pires/go-proxyproto" log "github.com/sirupsen/logrus" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/crypto" "goauthentik.io/internal/outpost/ak" "goauthentik.io/internal/outpost/proxyv2/application" diff --git a/internal/web/tenant_tls/tenant_tls.go b/internal/web/tenant_tls/tenant_tls.go index 6e99fecca..f2212553d 100644 --- a/internal/web/tenant_tls/tenant_tls.go +++ b/internal/web/tenant_tls/tenant_tls.go @@ -6,7 +6,7 @@ import ( "time" log "github.com/sirupsen/logrus" - "goauthentik.io/api" + "goauthentik.io/api/v3" "goauthentik.io/internal/crypto" "goauthentik.io/internal/outpost/ak" )