diff --git a/src/oidc.rs b/src/oidc.rs index 88f9015..d9d9734 100644 --- a/src/oidc.rs +++ b/src/oidc.rs @@ -38,6 +38,7 @@ lazy_static::lazy_static! { static ref SCOPES: [Scope; 2] = [ Scope::new("openid".to_string()), Scope::new("profile".to_string()), + Scope::new("email".to_string()), ]; } const SIGNING_ALG: [CoreJwsSigningAlgorithm; 1] = [CoreJwsSigningAlgorithm::RsaSsaPkcs1V15Sha256];