From 4728e08a0328cd08784b33450f03e1b1596194bb Mon Sep 17 00:00:00 2001 From: Patrik Lundin Date: Sun, 15 Dec 2024 10:21:22 +0100 Subject: [PATCH] oauth2: fix docs for GenerateVerifier() Config.DeviceAccess should be Config.DeviceAuth. --- pkce.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkce.go b/pkce.go index 50593b6df..a9c5bb6c0 100644 --- a/pkce.go +++ b/pkce.go @@ -21,7 +21,7 @@ const ( // // A fresh verifier should be generated for each authorization. // S256ChallengeOption(verifier) should then be passed to Config.AuthCodeURL -// (or Config.DeviceAccess) and VerifierOption(verifier) to Config.Exchange +// (or Config.DeviceAuth) and VerifierOption(verifier) to Config.Exchange // (or Config.DeviceAccessToken). func GenerateVerifier() string { // "RECOMMENDED that the output of a suitable random number generator be