Closed HosMercury closed 9 months ago
I am trying to add two scopes to google It does not work
pub fn authorize_url(&self) -> (Url, CsrfToken) { let scopes = vec![ Scope::new("https://www.googleapis.com/auth/userinfo.email".to_string()), Scope::new("https://www.googleapis.com/auth/userinfo.profile".to_string()), ]; self.client .authorize_url(CsrfToken::new_random) .add_scopes(scopes.iter().cloned()) .url() }
I do not have any rust errors but the error from google the redirect uri is not match I am sure it matches
found the issue .. it was the link
I am trying to add two scopes to google It does not work
I do not have any rust errors but the error from google the redirect uri is not match I am sure it matches