Skip to content

Commit

Permalink
Merge pull request #85 from mpg-jun-naito/golang-jwt_jwt
Browse files Browse the repository at this point in the history
Change from github.com/dgrijalva/jwt-go to github.com/golang-jwt/jwt.
  • Loading branch information
lyokato authored Mar 22, 2023
2 parents 44b7688 + 6bef32b commit 049ef2a
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion assertion/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

jwt "github.com/dgrijalva/jwt-go"
jwt "github.com/golang-jwt/jwt"
"github.com/lyokato/goidc/bridge"
"github.com/lyokato/goidc/log"
oer "github.com/lyokato/goidc/oauth_error"
Expand Down
2 changes: 1 addition & 1 deletion authorization_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"
"strconv"

"github.com/dgrijalva/jwt-go"
"github.com/golang-jwt/jwt"
"github.com/lyokato/goidc/authorization"
"github.com/lyokato/goidc/bridge"
"github.com/lyokato/goidc/flow"
Expand Down
2 changes: 1 addition & 1 deletion grant/jwt.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"time"

jwt "github.com/dgrijalva/jwt-go"
jwt "github.com/golang-jwt/jwt"

"github.com/lyokato/goidc/assertion"
"github.com/lyokato/goidc/bridge"
Expand Down
2 changes: 1 addition & 1 deletion id_token/id_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

jwt "github.com/dgrijalva/jwt-go"
jwt "github.com/golang-jwt/jwt"
)

func Hash(alg string, token string) (string, error) {
Expand Down
2 changes: 1 addition & 1 deletion test_helper/http_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strings"
"testing"

"github.com/dgrijalva/jwt-go"
"github.com/golang-jwt/jwt"
"github.com/lyokato/goidc/crypto"
)

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

"github.com/dgrijalva/jwt-go"
"github.com/golang-jwt/jwt"
"github.com/lyokato/goidc/assertion"
"github.com/lyokato/goidc/bridge"
"github.com/lyokato/goidc/grant"
Expand Down
2 changes: 1 addition & 1 deletion token_endpoint_assertion_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/dgrijalva/jwt-go"
"github.com/golang-jwt/jwt"
"github.com/lyokato/goidc/authorization"
"github.com/lyokato/goidc/grant"
th "github.com/lyokato/goidc/test_helper"
Expand Down
2 changes: 1 addition & 1 deletion token_endpoint_jwt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

jwt "github.com/dgrijalva/jwt-go"
jwt "github.com/golang-jwt/jwt"
"github.com/lyokato/goidc/basic_auth"
"github.com/lyokato/goidc/grant"
th "github.com/lyokato/goidc/test_helper"
Expand Down

0 comments on commit 049ef2a

Please sign in to comment.