applied lint typo fixes
This commit is contained in:
@@ -123,7 +123,7 @@ func Fetch(ctx context.Context, jwksURL string, kid string) (*JWK, error) {
|
||||
}
|
||||
|
||||
// ValidateTokenSignature validates the signature of a token with the
|
||||
// public key retrievied from a remote JWKS.
|
||||
// public key retrieved from a remote JWKS.
|
||||
func ValidateTokenSignature(ctx context.Context, token string, jwksURL string) error {
|
||||
// extract the kid token header
|
||||
// ---
|
||||
|
||||
@@ -276,7 +276,7 @@ func TestValidateTokenSignature(t *testing.T) {
|
||||
true,
|
||||
},
|
||||
{
|
||||
"invlaid token",
|
||||
"invalid token",
|
||||
"abc",
|
||||
true,
|
||||
},
|
||||
|
||||
@@ -48,7 +48,7 @@ const NameOIDC string = "oidc"
|
||||
//
|
||||
// The provider support the following Extra config options:
|
||||
// - "jwksURL" - url to the keys to validate the id_token signature (optional and used only when reading the user data from the id_token)
|
||||
// - "issuers" - list of valid issuers for the iss id_token claim (optioanl and used only when reading the user data from the id_token)
|
||||
// - "issuers" - list of valid issuers for the iss id_token claim (optional and used only when reading the user data from the id_token)
|
||||
type OIDC struct {
|
||||
BaseProvider
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user