Skip to content

Commit a7c457e

Browse files
committed
oidctest: fix import
1 parent aba1ce2 commit a7c457e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

oidc/oidctest/oidctest.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626
//
2727
// Then sign a token:
2828
//
29-
// rawClaims := `{
30-
// "iss": "` + srv.URL + `",
31-
// "aud": "my-client-id",
32-
// "sub": "foo",
33-
// "email": "[email protected]",
34-
// "email_verified": true
35-
// }`
36-
// token := oidctest.SignIDToken(priv, "my-key-id", oidc.RS256, rawClaims)
29+
// rawClaims := `{
30+
// "iss": "` + srv.URL + `",
31+
// "aud": "my-client-id",
32+
// "sub": "foo",
33+
// "email": "[email protected]",
34+
// "email_verified": true
35+
// }`
36+
// token := oidctest.SignIDToken(priv, "my-key-id", oidc.RS256, rawClaims)
3737
//
3838
// And finaly, verify through the oidc package:
3939
//
@@ -61,7 +61,7 @@ import (
6161
"net/http"
6262
"net/url"
6363

64-
jose "github.com/go-jose/go-jose/v3"
64+
jose "github.com/go-jose/go-jose/v4"
6565
)
6666

6767
// SignIDToken uses a private key to sign provided claims.

0 commit comments

Comments
 (0)