I’m new to Auth0 and i’m finding it quite interesting to learn!
My team and I have run into an issue that we can’t quite seem to figure out…
We’ve enabled auth0 Authorization extension, got the login access token to work and everything seems to be going smooth so far.
Once we got to calling the APIs to access to actual groups, we consistently keep getting 401 unauthorized. WE ARE STUMPED. ex: Https://YOUR_TENANT.us.webtask.run/adf6e2f2b84784b57522e3b19dfc9201/api/groups
We’ve verified that the machine-to-machine application has to correct permissions (scopes) selected. We’ve also verified that the actual token is being authenticated correctly.
Is there something we should look into to identify why we are consistently getting 401 each time we try to call the GET groups endpoint?
Also a note for Auth0 staff, I noticed that the URL displayed in the Authorization Extension is different than the URL provided in the doc that Auth0 provides: https://auth0.com/docs/api/authorization-extension#introduction.
In the API extension, the url ends with .run - on the contrary, within the doc file that’s provides, the url ends in .io
To conclude, we are trying to overcome the 401 unauthorized error each time we are calling the /groups endpoint.
Thank you all in advance!!