diff --git a/src/controllers/oauth_controller.rs b/src/controllers/oauth_controller.rs index 6f80f52e..efa34776 100644 --- a/src/controllers/oauth_controller.rs +++ b/src/controllers/oauth_controller.rs @@ -113,6 +113,7 @@ pub async fn authorize<'r>( cookies.add_private(state.into_cookie()?); Ok(template! { "oauth/authorize.html"; + authorize_post_url: String = uri!(do_authorize).to_string(), client_name: String = client_name, }) } else { diff --git a/templates/oauth/authorize.html b/templates/oauth/authorize.html index 0ea75135..daa5d13c 100644 --- a/templates/oauth/authorize.html +++ b/templates/oauth/authorize.html @@ -22,7 +22,7 @@ -