What is the Swift equivilent of getAccessTokenSilently

I am currently authorizing specific APIs on my browser based application using getAccessTokenSilently from @auth0/auth0-vue. I don’t see any similar option for the Swift library. Is there a similar concept? How do I get access tokens for specific APIs or scopes? How do I manage these?

Hey @jgleason!

There isn’t an equivalent of getAccessTokenSilently just given the nature of mobile vs SPA:

Have you had a chance to take a look at our Swift quickstart/sample app? You’ll noticed that WebAuth is used for authentication - You can find the full reference documentation on it here.

Hope this helps!

I will take a look again at the sample app. So if I need multiple access tokens per audience and scope sets on the native how do I handle that?

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