We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df5ffbf commit 5c6e318Copy full SHA for 5c6e318
backend/src/oidc/oidcflow.rs
@@ -176,7 +176,10 @@ impl OidcFlow {
176
}
177
// Generate a PKCE challenge.
178
let (pkce_challenge, pkce_verifier) = PkceCodeChallenge::new_random_sha256();
179
- let (auth_url, csrf_state, nonce) = authorize_url.url();
+ let (auth_url, csrf_state, nonce) = authorize_url
180
+ // Set the PKCE code challenge.
181
+ .set_pkce_challenge(pkce_challenge)
182
+ .url();
183
Ok(OidcFlow {
184
client,
185
auth_url,
0 commit comments