diff options
author | Vika <vika@fireburn.ru> | 2022-09-20 00:26:04 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2022-09-20 00:26:04 +0300 |
commit | cfc12adcb8dc680e5fa105e38d79825fb91a3f3b (patch) | |
tree | a4e72ecf624c084b7ee3cd5fd9287fb057ddcaa4 /kittybox-rs/indieauth/src/lib.rs | |
parent | 53c868691a09b84d71f724d23a09d1fb89368792 (diff) | |
download | kittybox-cfc12adcb8dc680e5fa105e38d79825fb91a3f3b.tar.zst |
kittybox-indieauth: fix extraneous padding in PKCE challenges
Diffstat (limited to 'kittybox-rs/indieauth/src/lib.rs')
-rw-r--r-- | kittybox-rs/indieauth/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kittybox-rs/indieauth/src/lib.rs b/kittybox-rs/indieauth/src/lib.rs index 2cce1b9..752d9e9 100644 --- a/kittybox-rs/indieauth/src/lib.rs +++ b/kittybox-rs/indieauth/src/lib.rs @@ -285,7 +285,7 @@ impl AsRef<str> for State { /// client_id: "https://kittybox.fireburn.ru/companion/native".parse().unwrap(), /// redirect_uri: "https://kittybox.fireburn.ru/companion/native/redirect".parse().unwrap(), /// state: State::new(), -/// code_challenge: PKCEChallenge::new(verifier, PKCEMethod::default()), +/// code_challenge: PKCEChallenge::new(&verifier, PKCEMethod::default()), /// scope: Some(Scopes::new(vec![Scope::Create, Scope::Update, Scope::Delete, Scope::Media])), /// me: Some("https://fireburn.ru/".parse().unwrap()) /// }; |