When authorizing via Android SDK AuthenticationAPIClient using passwordlessWithEmail in Credentials refresh token == null.
I read that in the article that you need to set offline_access for api and send a link to the audience on api. But AuthenticationAPIClient doesn't have anywhere in the audience field methods.
How to set the audience parameter?
You'll need to pass the
offline_accessscope andaudiencewherever you are logging the user in - I'm not positive usingpasswordlessWithEmailbut you'd want to leveragewithScopeandwithAudienceif using WebAuthProvider (Initiates Universal Login). The audience value is just the "API identifier" in your Auth0 dashboard - In the API settings be sure you've allowed offline access. The access token you receive from the login flow can then be used in theAuthenticationClient, to grab profile information for example.