joshcanhelp / wp-rest-api-auth0

Authorize WP REST API calls with access tokens from Auth0
MIT License
5 stars 1 forks source link

No automatic loading of env.php #16

Closed szepeviktor closed 1 year ago

szepeviktor commented 1 year ago

This plugin will automatically load a file called env.php in the same folder

I cannot file env.php in the plugin's source code. Where is it loaded?

joshcanhelp commented 1 year ago

Sorry, that's not well-worded. If you're using loading the plugin with wp-rest-api-auth0-loader.php in your mu-plugins folder, when you add env.php in there as well, WordPress will pick it up and auto-load it. I'll change the README to reflect that.

szepeviktor commented 1 year ago

In nice (golden cage 🐦) environments env-s come from