Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Justin Greer

    (@justingreerbbi)

    Hi,

    It is going to be something with the server or WP. Ensure that permalinks are set to something other than default. Another thing you can try is to simply deactivate and reactivate the plugin. It has happen before that when enabling WP OAuth Server, it was enabled with more than 1 plugin. Sometimes this causes the plugin not to finish the install.

    Thread Starter nmaugi

    (@nmaugi)

    I read sonmething about automated authorization. Could it be a limitation of the free version?
    It redirects me to the login page but doesn’t progamaticaly authenticate.

    Plugin Author Justin Greer

    (@justingreerbbi)

    Once you login in once, it should pass you through automatically until your WordPress session expires.Try to login once and then see what happens.

    Thread Starter nmaugi

    (@nmaugi)

    Yes, it does.
    But what i need to do is from an Java Web App create a User, thus i need to do it all programtically without any user action (login).

    • This reply was modified 8 years, 3 months ago by nmaugi.
    Plugin Author Justin Greer

    (@justingreerbbi)

    If you want to have a user a user must log in at least once on the website. After they log into the website they will be authenticated in the application.

    Now if you are talking about you need to application to talk to the website without a user, then you would need to use a different grant type than Authorization code. This would require you to get an access token using client credentials instead of authorization code or user credentials.

    Live use case would be if you wan to login into a website that allows for you to use your FB login (SSO). If you are not logged into FB then your will need to sign into FB before the access request can be granted.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t authenticate wp rest api from another server’ is closed to new replies.