I am using the @fusionauth/typescript-client library and leveraging the exchangeOAuthCodeForAccessToken function to retrieve the access token, followed by the retrieveUserInfoFromAccessToken function to obtain user details in my application backend.
The setup involves a SAML v2 IdP-initiated configuration for Okta as the identity provider.
In version 1.54.0, the exchangeOAuthCodeForAccessToken function is returning the following error:
"The provided Access Token did not contain the required [openid] scope."
However, this functionality works perfectly in version 1.49.2.
Has anyone encountered this issue or know how to resolve it? Any help would be greatly appreciated.