ArgumentError: A Must provide a token

I’m trying to authorize myself in my web application via /authorize endpoint of my tenant.

I have 3 tenants dev, staging, prod.
Until last week all worked well.
I suppose in the end (but maybe bit earlier) of last week I’ve noticed dev and staging tenants do not allow to log in anymore.
Production still works correctly (this tenant is paid account, other are free if it make any difference).
They generally have same setup and worked well in the past.

Right now during login via /authorize endpoint it’s redirecting me to page like

https:// mydomain . com /?error=access_denied&error_description=ArgumentError%3A%20Must%20provide%20a%20token&state=XXXXX

I believe my team didn’t change a thing recently and it abruptly start to fail.

Could you help find out what could be the case or share info how to investigate it?

Hi @szymon1

Welcome to the Auth0 Community!

I am sorry about the delayed response regarding the matter.

I can see that you have also opened a support ticket regarding the matter, which would have been my first suggestion due to the fact that you will be able to provide them an HAR file to analyze the situation on a deeper level regarding the tenant. At this time, I would recommend continuing to troubleshoot the issue with the representative assigned on your ticket.

In order to have information available for others, I have seen that you have been recommended to disable Rules associated with those tenants due to the fact that it is a legacy feature and have been deprecated which could be a possible cause.

Otherwise, as far as I have been able to find regarding the error, most probably it is indeed caused by wrong credentials (Client Secret/Client ID/Management API token) for a Management API instance created inside a Rule or Action.

For the time being, I will be marking this reply as a solution, if you have any other questions, let me know!

Kind Regards,
Nik

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.