From 3704c776d16104cf26ec750cd737a49c0f215617 Mon Sep 17 00:00:00 2001 From: pitwegner Date: Mon, 13 Nov 2023 12:41:26 +0100 Subject: [PATCH] chore: make audience in token exchange optional (#499) --- src/keycloak/keycloak_openid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keycloak/keycloak_openid.py b/src/keycloak/keycloak_openid.py index f689c37..5d0223a 100644 --- a/src/keycloak/keycloak_openid.py +++ b/src/keycloak/keycloak_openid.py @@ -343,7 +343,7 @@ class KeycloakOpenID: def exchange_token( self, token: str, - audience: str, + audience: Optional[str] = None, subject: Optional[str] = None, subject_token_type: Optional[str] = None, subject_issuer: Optional[str] = None,