From 21cc77b9c241567d1cf059a14d93842e1cd0c3a8 Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Thu, 27 Apr 2023 10:35:41 +0200 Subject: [PATCH] Fix bad redirection URL --- src/data/provider.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/provider.rs b/src/data/provider.rs index adcced0..4f742ef 100644 --- a/src/data/provider.rs +++ b/src/data/provider.rs @@ -49,7 +49,7 @@ impl Provider { /// Get the URL to use to login with the provider pub fn login_url(&self, redirect_url: &LoginRedirect) -> String { format!( - "/login_with_prov?id={}&redirect_url={}", + "/login_with_prov?id={}&redirect={}", self.id_encoded(), redirect_url.get_encoded() )