React Native - Invalid signature on access token
Last Updated:
Overview
ref: https://auth0.com/docs/quickstart/native/react-native/00-login
After login success i am getting user info. i am trying to get access token from auth0 using i create application in auth0. in web it's working fine but in mobile i am getting issue Invalid signature.
I am passing audience too in auth provider. in mobile i am using getCredentials() to get access and id-Token.
Cause
Solution
await authorize({scope: 'openid profile email',audience: '<your desired API identifier here>'});