IDTokenClaimsVerifier fails to verify some scenario regarding audience and authorized party

Issue #299 invalid
Michał Bojanowski created an issue

IDTokenClaimsVerifier fails to verify scenario where audience has multiple values but authorized party is null

From oidc specs I think it a BadJWTException should be thrown when its null. "If the ID Token contains multiple audiences, the Client SHOULD verify that an azp Claim is present. If an azp (authorized party) Claim is present, the Client SHOULD verify that its client_id is the Claim Value."

Also, when audience contains single value BUT azp is also present, it's not verified that azp is equal to expected client id.