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 0fea6f5 commit 7897f6cCopy full SHA for 7897f6c
src/routes/users.rs
@@ -108,8 +108,8 @@ pub fn kth_oidc_auth(
108
// cookies.add(Cookie::new("nonce", nonce.secret().clone()));
109
match cookies.get("nonce") {
110
Some(nonce) => {
111
- println!("got nonce: {}", nonce);
112
- match get_oidc_user(params, Nonce::new(nonce.to_string())) {
+ println!("got nonce: {}", nonce.value());
+ match get_oidc_user(params, Nonce::new(nonce.value().to_string())) {
113
Ok(_) => println!("good login!"),
114
Err(err) => {
115
println!("oidc error: {:?}", err);
0 commit comments