Skip to content

Commit ad60b5b

Browse files
DevTKSSCopilot
andauthored
chore: applying PR rewording suggestion
Co-authored-by: Copilot <[email protected]>
1 parent fa13f8b commit ad60b5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AspNet.Security.OAuth.Etsy/EtsyAuthenticationOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public override void Validate()
5555
{
5656
// HACK We want all of the base validation except for ClientSecret,
5757
// so rather than re-implement it all, catch the exception thrown
58-
// for that being null and only throw if we aren't using public access type.
58+
// for that being null and only throw if we aren't using PKCE, as Etsy's OAuth implementation does not require a client secret when using PKCE (Proof Key for Code Exchange).
5959
// This does mean that three checks have to be re-implemented
6060
// because the won't be validated if the ClientSecret validation fails.
6161
base.Validate();

0 commit comments

Comments
 (0)