joshcanhelp / wp-rest-api-auth0

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

Make it a package #2

Closed szepeviktor closed 3 years ago

szepeviktor commented 3 years ago

This is example code.

The shim for non-Composer installations is not implemented.

szepeviktor commented 3 years ago

Apparently it gets installed in a subdirectory under wp-content/mu-plugins/. So the provided shim can be a loader too: wp-content/mu-plugins/wp-rest-api-auth0-loader.php

szepeviktor commented 3 years ago

Loader added 🎉

joshcanhelp commented 3 years ago

@szepeviktor - I appreciate this greatly, thank you! I'm just about to publish the post for this and I'll take all this into account 👍

szepeviktor commented 3 years ago

You're welcome.

My clients ("gimme a poorly written sub-MVP") do not mean technical challenges to me so I run theoretical researches and send this kind of PR-s.