GET /login
This simply redirects the browser to correct WordPress authorization endpoint.
GET /authorize?code=XXXX
This is the WordPress callback that
- Accepts the authorization code
- Contacts WordPress to trade the authorization code for an access token
- Redirect the browser back to /?token=XXXX
No comments:
Post a Comment