Add authentication from upstream providers #107
@ -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()
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user