From 0f13738fdb5ff65760076a4df276eff6fa3c68ee Mon Sep 17 00:00:00 2001 From: Kip Parker Date: Mon, 29 Jul 2024 16:42:05 +0100 Subject: [PATCH] Correct type of client certificate in token issuing endpoint --- authentication/api/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentication/api/main.py b/authentication/api/main.py index 8623e44..efd1ff0 100644 --- a/authentication/api/main.py +++ b/authentication/api/main.py @@ -172,7 +172,7 @@ async def token( redirect_uri: Annotated[str, Form()], code_verifier: Annotated[str, Form()], code: Annotated[str, Form()], - x_amzn_mtls_clientcert: Annotated[str, Header()], + x_amzn_mtls_clientcert: Annotated[str | None, Header()], ) -> models.TokenResponse: """ Token issuing endpoint