diff --git a/go.mod b/go.mod index 0c53c26..f99a000 100644 --- a/go.mod +++ b/go.mod @@ -3,10 +3,10 @@ module github.com/dmwm/auth-proxy-server go 1.23.0 require ( - github.com/coreos/go-oidc v2.2.1+incompatible - github.com/dmwm/auth-proxy-server/auth v0.0.0-20240826194024-b3be074056a7 - github.com/dmwm/auth-proxy-server/cric v0.0.0-20240826194024-b3be074056a7 - github.com/dmwm/auth-proxy-server/logging v0.0.0-20240826194024-b3be074056a7 + github.com/coreos/go-oidc/v3 v3.11.0 + github.com/dmwm/auth-proxy-server/auth v0.0.0-20240828180749-5c89b96090d4 + github.com/dmwm/auth-proxy-server/cric v0.0.0-20240828180749-5c89b96090d4 + github.com/dmwm/auth-proxy-server/logging v0.0.0-20240828180749-5c89b96090d4 github.com/dmwm/cmsauth v0.0.4 github.com/golang-jwt/jwt v3.2.2+incompatible github.com/google/uuid v1.6.0 @@ -19,7 +19,6 @@ require ( ) require ( - github.com/coreos/go-oidc/v3 v3.11.0 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/go-jose/go-jose/v4 v4.0.2 // indirect github.com/go-ole/go-ole v1.2.6 // indirect @@ -27,7 +26,6 @@ require ( github.com/pascaldekloe/jwt v1.12.0 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/pquerna/cachecontrol v0.2.0 // indirect github.com/tklauser/go-sysconf v0.3.14 // indirect github.com/tklauser/numcpus v0.8.0 // indirect github.com/vkuznet/TokenManager v0.0.1 // indirect @@ -39,6 +37,5 @@ require ( golang.org/x/sys v0.23.0 // indirect golang.org/x/term v0.23.0 // indirect golang.org/x/text v0.17.0 // indirect - gopkg.in/square/go-jose.v2 v2.6.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index 4351e95..f8443d0 100644 --- a/go.sum +++ b/go.sum @@ -1,16 +1,14 @@ -github.com/coreos/go-oidc v2.2.1+incompatible h1:mh48q/BqXqgjVHpy2ZY7WnWAbenxRjsz9N1i1YxjHAk= -github.com/coreos/go-oidc v2.2.1+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= github.com/coreos/go-oidc/v3 v3.11.0 h1:Ia3MxdwpSw702YW0xgfmP1GVCMA9aEFWu12XUZ3/OtI= github.com/coreos/go-oidc/v3 v3.11.0/go.mod h1:gE3LgjOgFoHi9a4ce4/tJczr0Ai2/BoDhf0r5lltWI0= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/dmwm/auth-proxy-server/auth v0.0.0-20240826194024-b3be074056a7 h1:duyLsgcTAqBX0f3CGufTh5787H2rBrZ6V+avUr18jtk= -github.com/dmwm/auth-proxy-server/auth v0.0.0-20240826194024-b3be074056a7/go.mod h1:ZYG5e4cp2cp/AY34woP4kaaeI4SHLk4KjxI5QE+i0nY= -github.com/dmwm/auth-proxy-server/cric v0.0.0-20240826194024-b3be074056a7 h1:tCKMvTwV/o4rtLnWKjLlLh6AteDZsq8Xxo4/TC72q0Q= -github.com/dmwm/auth-proxy-server/cric v0.0.0-20240826194024-b3be074056a7/go.mod h1:sU3FJL2Bbyx0nYFIDhrs6SVIAYi4AHmojcD1QcHwpYw= -github.com/dmwm/auth-proxy-server/logging v0.0.0-20240826194024-b3be074056a7 h1:EGNiQFGs0NOhHAA/11pyuB2Usua7PkPnRqlxVKLM20o= -github.com/dmwm/auth-proxy-server/logging v0.0.0-20240826194024-b3be074056a7/go.mod h1:+cSGD+EyVDpnpQiIp1S6dloPF6q4sh093m1XqhaZcNU= +github.com/dmwm/auth-proxy-server/auth v0.0.0-20240828180749-5c89b96090d4 h1:Z71vLcw19tgEuMv3YV1wiYbbO7/iaOpuYMV1NLGcIWs= +github.com/dmwm/auth-proxy-server/auth v0.0.0-20240828180749-5c89b96090d4/go.mod h1:ZYG5e4cp2cp/AY34woP4kaaeI4SHLk4KjxI5QE+i0nY= +github.com/dmwm/auth-proxy-server/cric v0.0.0-20240828180749-5c89b96090d4 h1:YtiH65lEfDuIIA4jFboKoISJFA5meit4oj0arfbRXEo= +github.com/dmwm/auth-proxy-server/cric v0.0.0-20240828180749-5c89b96090d4/go.mod h1:sU3FJL2Bbyx0nYFIDhrs6SVIAYi4AHmojcD1QcHwpYw= +github.com/dmwm/auth-proxy-server/logging v0.0.0-20240828180749-5c89b96090d4 h1:Fqwz8hnnJE8h0ejm5vqF0n04H4oBbA0rA3XUXllk0VM= +github.com/dmwm/auth-proxy-server/logging v0.0.0-20240828180749-5c89b96090d4/go.mod h1:+cSGD+EyVDpnpQiIp1S6dloPF6q4sh093m1XqhaZcNU= github.com/dmwm/cmsauth v0.0.4 h1:naXMSU4bMHkoLbc811CneIgLo4tiuLmO1sZVRfrdG38= github.com/dmwm/cmsauth v0.0.4/go.mod h1:Q/FulD8nZWDBQZ9yCQ4MKYKKiM0leeIvI6ceuUKDMys= github.com/go-jose/go-jose/v4 v4.0.2 h1:R3l3kkBds16bO7ZFAEEcofK0MkrAJt3jlJznWZG0nvk= @@ -37,13 +35,10 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/pquerna/cachecontrol v0.2.0 h1:vBXSNuE5MYP9IJ5kjsdo8uq+w41jSPgvba2DEnkRx9k= -github.com/pquerna/cachecontrol v0.2.0/go.mod h1:NrUG3Z7Rdu85UNR3vm7SOsl1nFIeSiQnrHV5K9mBcUI= github.com/shirou/gopsutil v3.21.11+incompatible h1:+1+c1VGhc88SSonWP6foOcLhvnKlUeu/erjjvaPEYiI= github.com/shirou/gopsutil v3.21.11+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/thomasdarimont/go-kc-example v0.0.0-20170529223628-e3951d8faa4c h1:lcylEBfIkt5tgRrDyh7N7a0U28d1bS7WurGpRl1fxJw= @@ -66,10 +61,6 @@ go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8= go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E= golang.org/x/crypto v0.26.0 h1:RrRspgV4mU+YwB4FYnuBoKsUapNIL5cohGAmSH3azsw= golang.org/x/crypto v0.26.0/go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54= -golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4= -golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= -golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= -golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= golang.org/x/net v0.27.0 h1:5K3Njcw06/l2y9vpGCSdcxWOYHOUk3dVNGDXN+FvAys= golang.org/x/net v0.27.0/go.mod h1:dDi0PyhWNoiUOrAS8uXv/vnScO4wnHQO4mj9fn/RytE= golang.org/x/oauth2 v0.22.0 h1:BzDx2FehcG7jJwgWLELCdmLuxk2i+x9UDpSiss2u0ZA= @@ -83,8 +74,5 @@ golang.org/x/text v0.17.0 h1:XtiM5bkSOt+ewxlOE/aE/AKEHibwj/6gvWMl9Rsh0Qc= golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/square/go-jose.v2 v2.6.0 h1:NGk74WTnPKBNUhNzQX7PYcTLUjoq7mzKk2OKbvwk2iI= -gopkg.in/square/go-jose.v2 v2.6.0/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=