I'm working with authentication tokens and want to know if the token audience can be used to validate a client ID. Is this possible, or is there another way to authenticate clients using tokens?
6
answers
Martino
Tue Feb 25 2025
I initially believed that Allow Token Audience would play a crucial role in validating the audience (aud) claim of my JWT token.
CherryBlossomBloom
Tue Feb 25 2025
My understanding was that this validation would ensure that the audience claim of my JWT token matched my Client Id.
CryptoWizardry
Tue Feb 25 2025
However, upon closer inspection, it seems that this is not the case. Despite my expectations, the values I provided for Allow Token Audience do not seem to be having the desired effect.
Daniele
Tue Feb 25 2025
Despite the incorrect values, users are still able to authenticate successfully. This has led me to question how Allow Token Audience is supposed to be used in practice.
KimonoGlory
Mon Feb 24 2025
It is unclear to me why the audience claim of my JWT token is not being validated against the values I specified in Allow Token Audience.