Genesys implicit grant JWT validation failing in React

Trying to validate the access token from an implicit grant flow in a React app. The token decodes fine locally, but calling /api/v2/authorization/user/me returns a 401 Unauthorized. The payload structure looks standard.

const res = await fetch('https://api.mypurecloud.com/api/v2/authorization/user/me', {
 headers: { 'Authorization': `Bearer ${token}` }
});

Token has the right scopes. Is there a specific header missing?

Implicit grant tokens usually fail on user/me because the token lacks the specific view:authorization scope or the client isn’t authorized for that resource.

  • Double-check the scope list on the OAuth client configuration in the admin portal.
  • Add view:authorization to the requested scopes during the redirect.
  • Verify the token expiry hasn’t passed, especially if testing across timezones.