From e01c16e166023859b51acfd6498e59f8e77689fe Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Fri, 14 Feb 2025 14:02:08 +1100 Subject: [PATCH] fix: Add email as an allowed scope --- src/oidc.rs | 1 + 1 file changed, 1 insertion(+) 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];