401 error when calling token endpoint with custom domain (vue setup)

I am having some issues with logging into our platform while using a custom domain and we are using auth0/auth0-vue to set it up. The issue is that when we call the POST https://{my-custom-domain}/oauth/token endpoint, we get a 401 response: {“error”:“access_denied”,“error_description”:“Unauthorized”}. The dashboard logs don’t give much information either about what the issue could be:

Do you know what might be causing the issue?

Thank you!

So, the solution to my issue was not intuitive but would like to add it here just in case anyone else has the same problem. So I navigated to application>my-application>Credentials and just clicked on the “Save” button, without changing any of the options:

1 Like

Thanks a lot for sharing it with the rest of community!