What should callback URL be?
-
I’m new to WP REST API and need to authenticate one end point I created. There is not clear documentation on what the Callback URL should be in the oAuth settings.
When I try going to https://mysite.com/wp-login.php?action=oauth1_authorize&oauth_token=TOKEN&oauth_token_secret=SECRET
It says invalid token. So I’m not sure what that means as I clearly only have one Application and those are my values it generated.I’ve tried putting https://mysite.com/wp-json/ and https://mysite.com/wp-json/my-rest-api-endpoint/ as the callback URLs but I don’t think this is right.
I’ve tried using the example client from github and am getting this error:
Received HTTP status code [500] with message "Callback URL is invalid" when getting temporary credentials.What am I doing wrong?
The topic ‘What should callback URL be?’ is closed to new replies.