Open ludovicsclain opened 11 months ago
@ludovicsclain - I made a change that should solve this. Can you replace your src/wp-rest-api-auth0.php
file with this one?
Let me know if that works and I'll put out a proper release.
Hey Josh 👋 first of all I wish you all my best wishes for health and prosperity for this new year 2024 🎉Â
I am taking advantage of the calm at the start of the year to return to conversations like this, and I have actually tested the new version of the code, and it is not conclusive.
Whereas with the penultimate version everything was going well (for example I could publish an article via API) but I had this error [04-Jan-2024 14:45:14 UTC] PHP Warning: Undefined array key "scope" in ~/wp-content/plugins/wp-rest-api-auth0-main/src/wp-rest-api-auth0.php on line 119
, with the latest version I can no longer publish and I have this in my logs [04-Jan-2024 14:33:29 UTC] WP REST API Auth0: No access token found in the request
with of course API response "You do not have authorization to publish… error 401".
Hope it helps! Warm regards, Ludovic
Hey Josh 👋 Hope you're doing well. Just to let you know that with your latest version I get tons of warnings with the same comments:
Hope this helps you debug. Take care!