From d3c9de8ceff2d9cd165c6a84c11e83fb061bbb0b Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Tue, 17 Feb 2026 16:10:31 +0100 Subject: [PATCH] feat: advertise token exchange in OIDC discovery Co-Authored-By: Claude Opus 4.6 --- crates/handlers/src/oauth2/discovery.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/handlers/src/oauth2/discovery.rs b/crates/handlers/src/oauth2/discovery.rs index 4530ea820..62f560130 100644 --- a/crates/handlers/src/oauth2/discovery.rs +++ b/crates/handlers/src/oauth2/discovery.rs @@ -89,6 +89,7 @@ pub(crate) async fn get( GrantType::AuthorizationCode, GrantType::RefreshToken, GrantType::ClientCredentials, + GrantType::TokenExchange, ]; if site_config.device_code_grant_enabled { types.push(GrantType::DeviceCode);