Auth0 Home Blog Docs

Ionic 3.9.2 Access Tokens via auth0/cordova

cordova
ionic
access-token
ionic2

#1

We have an application and used the examples on the site to get refreshtoken from auth0 and login using auth0/cordova along with Ionic 3.9.2 for a native app.

Now we need to retrieve access tokens for different APIs within our auth0 domain. On our desktop browser site, we can do this with WebAuth.renewAuth(…). We can’t do RenewAuth on the native app. Is there an example that allows me to pass scores, domain, clientId, audience, etc to an endpoint that’ll get me an access token for those scopes?