Hi Tim,
Sorry about this. The endpoint in the documentation for the access token should be this:
https://api.yext.com/oauth2/accesstoken
Can you try that and let us know how it goes? We will get that updated ASAP.
Using just “localhost” should be fine. We use that in some of the apps we build when testing as well.
The client_secret should be the OAuth2 Client Secret. We will also update the documentation to make that clearer as well.
Let me know if you have any other questions! Thank you!
Dana