Hi @GabrielYamamoto,
Yes, that should work. I just wanted to confirm!
So the user logs in, you call getAccessTokenSilently()
with audienceB, and immediately get the “login_required” error? This solution explains what getAccessTokenSilently()
does. I wonder if you could try having the user authenticate with an audience and see if this changes anything.
Here are some other articles I found that may prove useful:
- Calling the getAccessTokenSilently API Returns the Same Access Token
- GetAccessTokenSilently - #3 by stephanie.chamblee
Thanks,
Mary Beth