diff --git a/crates/nefarious-login/src/oauth/zitadel.rs b/crates/nefarious-login/src/oauth/zitadel.rs index 0226eee..d889494 100644 --- a/crates/nefarious-login/src/oauth/zitadel.rs +++ b/crates/nefarious-login/src/oauth/zitadel.rs @@ -110,6 +110,8 @@ impl OAuthClient for ZitadelOAuthClient { .authorize_url(CsrfToken::new_random) .add_scope(Scope::new("identify".to_string())) .add_scope(Scope::new("openid".to_string())) + .add_scope(Scope::new("email".to_string())) + .add_scope(Scope::new("profile".to_string())) .url(); Ok(auth_url)