Skip to content

Commit

Permalink
Remove extra blank space
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket committed Jul 12, 2023
1 parent e7263c3 commit 94f12a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Auth0/ClaimValidators.swift
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ struct IDTokenOrgNameValidator: JWTValidator {

func validate(_ jwt: JWT) -> Auth0Error? {
guard let actualOrgName = jwt.claim(name: "org_name").string else { return ValidationError.missingOrgName }
guard actualOrgName.caseInsensitiveCompare(expectedOrgName) == .orderedSame else {
guard actualOrgName.caseInsensitiveCompare(expectedOrgName) == .orderedSame else {
return ValidationError.mismatchedOrgName(actual: actualOrgName, expected: expectedOrgName)
}
return nil
Expand Down

0 comments on commit 94f12a4

Please sign in to comment.