Open
Description
Describe the bug
I wondered if OidcIdToken
should implement equals
. While running some test, I realized that the claims
on OidcIdToken
are not compared when using assertEquals
.
Interestingly, OAuth2AccessToken
which follows the same pattern does implement it.
Expected behavior
claims
(and potentially other fields) are respected when comparing via equals
. This might be considered a breaking change.