Hello,
Looking for help on how to get a RefreshToken when specifying an Audience for my API call.
This is how I setup my Auth0Client in a Xamarin.DROID Project:
IAuth0Client Client { get; set; }
string Audience { get; set; }
var options = new Auth0ClientOptions
{
Domain = “me.auth0.com”,
ClientId = “**********************************”,
Scope = “openid offline_access profile email”
};
Client = new Auth0Client(options);
This is how I specify extra parameters for the LoginAsync() call:
Audience = “https://api.<>.com/the-app”; or similar
LoginResult loginResult = await Client.LoginAsync(new { audience = Audience });
var loginResult = await Client.LoginAsync(options);
Unfortunately, the LoginResult’s RefreshToken is NULL. Is there any way to receive a RefreshToken in the LoginResult?
loginResult.RefreshToken,
I appreciate any help.
Thanks.