applied lint typo fixes

This commit is contained in:
Gani Georgiev
2026-03-04 22:31:27 +02:00
parent 4a40c1b897
commit bb18799a0b
56 changed files with 4788 additions and 4780 deletions

View File

@@ -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
// ---

View File

@@ -276,7 +276,7 @@ func TestValidateTokenSignature(t *testing.T) {
true,
},
{
"invlaid token",
"invalid token",
"abc",
true,
},

View File

@@ -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
}