diff --git a/fastapi_azure_auth/user.py b/fastapi_azure_auth/user.py index 6dca7c9..ac13096 100644 --- a/fastapi_azure_auth/user.py +++ b/fastapi_azure_auth/user.py @@ -37,7 +37,7 @@ class Claims(BaseModel): ..., description='Specifies the expiration time before which the JWT can be accepted for processing.', ) - aio: str = Field( + aio: Optional[str] = Field( ..., description='An internal claim used by Azure AD to record data for token reuse. Resources should not use this claim.', ) @@ -73,11 +73,11 @@ class Claims(BaseModel): ..., description='Represents the tenant that the user is signing in to', ) - uti: str = Field( + uti: Optional[str] = Field( ..., description='Token identifier claim, equivalent to jti in the JWT specification. Unique, per-token identifier that is case-sensitive.', ) - rh: str = Field( + rh: Optional[str] = Field( ..., description='An internal claim used by Azure to revalidate tokens. Resources should not use this claim.', )