summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2026-02-12 11:14:39 +0100
committerJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2026-02-12 11:14:46 +0100
commit026506786df47e805c926667887fae982283aa34 (patch)
treec52dc08ab8ac7c4e9817d3e449c456e1d3894b15 /client
parent28c51a24570d742782c660167cef0d57e00d8bed (diff)
All: Use eduoauth-go v2 and update other deps
Diffstat (limited to 'client')
-rw-r--r--client/client.go2
-rw-r--r--client/client_test.go2
-rw-r--r--client/token.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/client/client.go b/client/client.go
index e3f40aa..ae468ed 100644
--- a/client/client.go
+++ b/client/client.go
@@ -22,7 +22,7 @@ import (
"codeberg.org/eduVPN/eduvpn-common/internal/server"
"codeberg.org/eduVPN/eduvpn-common/types/cookie"
srvtypes "codeberg.org/eduVPN/eduvpn-common/types/server"
- "github.com/jwijenbergh/eduoauth-go"
+ "codeberg.org/jwijenbergh/eduoauth-go/v2"
)
// CalculateGateway takes a CIDR encoded subnet `cidr` and returns the gateway and an error
diff --git a/client/client_test.go b/client/client_test.go
index 372c6c3..dd69688 100644
--- a/client/client_test.go
+++ b/client/client_test.go
@@ -15,7 +15,7 @@ import (
"codeberg.org/eduVPN/eduvpn-common/types/cookie"
"codeberg.org/eduVPN/eduvpn-common/types/protocol"
srvtypes "codeberg.org/eduVPN/eduvpn-common/types/server"
- "github.com/jwijenbergh/eduoauth-go"
+ "codeberg.org/jwijenbergh/eduoauth-go/v2"
)
func TestCalculateGateway(t *testing.T) {
diff --git a/client/token.go b/client/token.go
index 250173b..f4f82e2 100644
--- a/client/token.go
+++ b/client/token.go
@@ -5,7 +5,7 @@ import (
"fmt"
srvtypes "codeberg.org/eduVPN/eduvpn-common/types/server"
- "github.com/jwijenbergh/eduoauth-go"
+ "codeberg.org/jwijenbergh/eduoauth-go/v2"
)
type cacheMap map[string]eduoauth.Token