Add authentication from upstream providers #107

Merged
pierre merged 25 commits from feat-upstream-providers into master 2023-04-27 10:10:29 +00:00
Showing only changes of commit 21cc77b9c2 - Show all commits

View File

@ -49,7 +49,7 @@ impl Provider {
/// Get the URL to use to login with the provider /// Get the URL to use to login with the provider
pub fn login_url(&self, redirect_url: &LoginRedirect) -> String { pub fn login_url(&self, redirect_url: &LoginRedirect) -> String {
format!( format!(
"/login_with_prov?id={}&redirect_url={}", "/login_with_prov?id={}&redirect={}",
self.id_encoded(), self.id_encoded(),
redirect_url.get_encoded() redirect_url.get_encoded()
) )