How to include 'expected audience'?

I am attempting to use a Node.js program to obtain an access token (grant_type: ‘client_credentials’).
The action fails with a response of ‘{ error: ‘expected audience is required’ }’. I cannot find an
documentation or information as to how to include this required value.


Thank you!

I finally found the solution. The ‘expected audience’ is a required parameter to
OktaJwtVerifier.verifyAccessToken() when verifying access tokens.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.