Skip to content

Commit

Permalink
fix: typo in Oathkeeper name
Browse files Browse the repository at this point in the history
  • Loading branch information
BarcoMasile committed Feb 6, 2024
1 parent 1ecf1fe commit 5f7634d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/kratos/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func (s *Service) getClientName(loginFlow *kClient.LoginFlow) string {
if oauth2LoginRequest != nil {
return oauth2LoginRequest.Client.GetClientName()
}
// Handle OAuthkeeper case
// Handle Oathkeeper case
return ""
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/kratos/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ func TestCheckAllowedProviderFail(t *testing.T) {
}
}

func TestGetClientNameOAuthKeeper(t *testing.T) {
func TestGetClientNameOathkeeper(t *testing.T) {
loginFlow := &kClient.LoginFlow{}
service := NewService(nil, nil, nil, nil, nil, nil)

Expand Down

0 comments on commit 5f7634d

Please sign in to comment.