diff --git a/crates/http/src/auth/oauth/openid.rs b/crates/http/src/auth/oauth/openid.rs index 5c97cd14..46d7e677 100644 --- a/crates/http/src/auth/oauth/openid.rs +++ b/crates/http/src/auth/oauth/openid.rs @@ -22,6 +22,7 @@ pub struct OpenIdMetadata { pub userinfo_endpoint: String, pub jwks_uri: String, pub registration_endpoint: String, + pub device_authorization_endpoint: String, pub scopes_supported: Vec, pub response_types_supported: Vec, pub subject_types_supported: Vec, @@ -75,6 +76,7 @@ impl OpenIdHandler for Server { userinfo_endpoint: format!("{base_url}/auth/userinfo"), jwks_uri: format!("{base_url}/auth/jwks.json"), registration_endpoint: format!("{base_url}/auth/register"), + device_authorization_endpoint: format!("{base_url}/auth/device"), response_types_supported: vec![ "code".into(), "id_token".into(),