Skip to content

Commit

Permalink
fix: oauth IsPublicClient (trustbloc#1508)
Browse files Browse the repository at this point in the history
  • Loading branch information
skynet2 authored Nov 7, 2023
1 parent 027f1bb commit f1f4962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/oauth2client/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (c *Client) GetScopes() fosite.Arguments {

// IsPublic returns true if the client is public.
func (c *Client) IsPublic() bool {
return c.TokenEndpointAuthMethod == "none"
return c.TokenEndpointAuthMethod == "" || c.TokenEndpointAuthMethod == "none"
}

// GetAudience returns the client audience.
Expand Down

0 comments on commit f1f4962

Please sign in to comment.