I am trying to use the Auth0 CLI to obtain test tokens. I have been doing it this way for a long time, but as of the last few weeks, it just errors out with no information.
Steps:
auth0 test token
login if necessary
select my client
select my audience/api
I get the following:
.us.auth0.com error
▸ Please provide options to select from.
I try to list out the logs, but there is nothing useful there. Is there anywhere else I can look for specific errors.
My client (web app) has the audience listed in its configuration. Is there any additional config required for the API?
I tried upgrading my CLI to no avail.
auth0 version 1.8.0 c672a3c6ab2a04f57c420e832307aeb26e44ba8b
Thank you for posting your question, I’ve been able to reproduce this issue and to fix it you’ll need to add permissions to your API and add them to the connection from the Machine to Machine tab in the API settings. After that I’ve been able to get the Access Token.
For some reason, I cannot edit my previous comment, but I do have my Web Application authorized inside Machine to Machine tab on my API. What do I need to add to permissions? Why would this suddenly change?