Skip to content

Commit

Permalink
Replace go-auth0 package imports for our own repo to avoid using a re…
Browse files Browse the repository at this point in the history
…place in the go.mod.

Signed-off-by: Daniel Ortiz <[email protected]>
  • Loading branch information
taik0 committed Nov 2, 2023
1 parent f0bba6f commit b8fc0f2
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 20 deletions.
2 changes: 1 addition & 1 deletion gin/jose.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"regexp"
"strings"

auth0 "github.com/auth0-community/go-auth0"
"github.com/gin-gonic/gin"
auth0 "github.com/krakend/go-auth0"
krakendjose "github.com/krakendio/krakend-jose/v2"
"github.com/luraproject/lura/v2/config"
"github.com/luraproject/lura/v2/logging"
Expand Down
10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module github.com/krakendio/krakend-jose/v2
go 1.17

require (
github.com/auth0-community/go-auth0 v1.0.0
github.com/gin-gonic/gin v1.8.2
github.com/krakend/go-auth0 v1.0.0
github.com/luraproject/lura/v2 v2.0.5
gocloud.dev v0.28.0
gocloud.dev/secrets/hashivault v0.28.0
Expand Down Expand Up @@ -96,11 +96,11 @@ require (
github.com/valyala/fastrand v1.1.0 // indirect
go.opencensus.io v0.24.0 // indirect
go.uber.org/atomic v1.10.0 // indirect
golang.org/x/crypto v0.3.0 // indirect
golang.org/x/net v0.4.0 // indirect
golang.org/x/crypto v0.9.0 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/oauth2 v0.2.0 // indirect
golang.org/x/sys v0.3.0 // indirect
golang.org/x/text v0.5.0 // indirect
golang.org/x/sys v0.8.0 // indirect
golang.org/x/text v0.9.0 // indirect
golang.org/x/time v0.2.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/api v0.103.0 // indirect
Expand Down
39 changes: 31 additions & 8 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jose.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"net/http"
"strings"

"github.com/auth0-community/go-auth0"
"github.com/krakend/go-auth0"
"github.com/luraproject/lura/v2/proxy"
jose "gopkg.in/square/go-jose.v2"
"gopkg.in/square/go-jose.v2/jwt"
Expand Down
2 changes: 1 addition & 1 deletion jwk.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"sync"
"time"

auth0 "github.com/auth0-community/go-auth0"
auth0 "github.com/krakend/go-auth0"
"github.com/luraproject/lura/v2/core"
jose "gopkg.in/square/go-jose.v2"

Expand Down
2 changes: 1 addition & 1 deletion jwk_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package jose
import (
"net/http"

"github.com/auth0-community/go-auth0"
"github.com/krakend/go-auth0"
"gopkg.in/square/go-jose.v2/jwt"
)

Expand Down
2 changes: 1 addition & 1 deletion jwk_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"
"time"

"github.com/auth0-community/go-auth0"
"github.com/krakend/go-auth0"
"github.com/luraproject/lura/v2/config"
"github.com/luraproject/lura/v2/logging"
)
Expand Down
2 changes: 1 addition & 1 deletion jws.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
"strings"

"github.com/auth0-community/go-auth0"
"github.com/krakend/go-auth0"
"github.com/luraproject/lura/v2/config"
jose "gopkg.in/square/go-jose.v2"
)
Expand Down
2 changes: 1 addition & 1 deletion mux/jose.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"net/http"
"strings"

"github.com/auth0-community/go-auth0"
"github.com/krakend/go-auth0"
krakendjose "github.com/krakendio/krakend-jose/v2"
"github.com/luraproject/lura/v2/config"
"github.com/luraproject/lura/v2/logging"
Expand Down

0 comments on commit b8fc0f2

Please sign in to comment.