Refreshing token in extension app

Please include the following information in your post:

  • Which SDK this is regarding: e.g. auth0-swift
  • SDK Version: e.g. 1.30.1
  • Platform Version: e.g. iOS 13

Basically, I am trying to use Auth0 in my app’s Share Extension. I was able to get Auth0 to be recognized by the extension however I am having hard time refreshing the token.
So I know that the token (or the credentials object) gets saved in the main app’s keychain container however this container - to my knowledge - is not accessible by extensions. I am only able to access the token via a different shared container (UserDefaults or Keychain) but this process has to happen in the container app rather than the extension.

So my question is, is there a way for me to refresh the token (in my app it seems that this has to happen every 24 hours) in the extension app without going back to the container app?