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 0eea183 commit 6391189Copy full SHA for 6391189
src/routes/users.rs
@@ -185,13 +185,14 @@ pub fn use_oidc(mut cookies: Cookies) -> Result<Redirect> {
185
186
// This is the URL you should redirect the user to, in order to trigger the authorization
187
// process.
188
- println!("Browse to: {}", auth_url);
189
190
cookies.add(Cookie::new("nonce", nonce.secret().clone()));
+ println!("wrote nonce: {:?}", nonce);
191
Ok(Redirect::to(auth_url.to_string()))
192
}
193
194
pub fn get_oidc_user(params: Form<Code>, nonce: Nonce) -> Result<()> {
195
+ println!("got nonce: {:?}", nonce);
196
let client = get_client()?;
197
println!("getting oidc_user");
198
let code = params
0 commit comments