freman / caddy-reauth

Auth your Caddyserver requests against another server
MIT License
27 stars 15 forks source link

fails to build #31

Closed divansantana closed 4 years ago

divansantana commented 4 years ago

Hi,

It's failing to build due to https://github.com/labbsr0x/goh/issues/3

Could you update this?

divansantana commented 4 years ago
go: github.com/labbsr0x/goh@v0.0.0-20190417202808-8b16b4848295: unknown revision 8b16b4848295
freman commented 4 years ago

I'll have a look at this shortly.

freman commented 4 years ago

Well, this seems like a mess

I don't have an issue with goh, I have issues with quic and caddy itself....

I'll get back to you when I figure out how to get any of this to build any more.

freman commented 4 years ago

Ok, sorted that, turns out there's such a thing as too many dependancies in go.mod

shannon@mac ~/go/src/github.com/freman/caddy-reauth $ go test -count=1 ./...
ok      github.com/freman/caddy-reauth  0.021s
ok      github.com/freman/caddy-reauth/backend  0.015s
?       github.com/freman/caddy-reauth/backends [no test files]
ok      github.com/freman/caddy-reauth/backends/gitlabci    0.492s
?       github.com/freman/caddy-reauth/backends/ldap    [no test files]
ok      github.com/freman/caddy-reauth/backends/refresh 0.404s
ok      github.com/freman/caddy-reauth/backends/simple  0.016s
ok      github.com/freman/caddy-reauth/backends/upstream    0.465s
ok      github.com/freman/caddy-reauth/lib/caddy-secrets    0.020s
divansantana commented 4 years ago

Great thanks. I too was having issues with quic and caddy. Glad you got it sorted. I'll try it out again sometime. Thanks