• Hi,
    I use a fresh wordpress installation (5.5.1) with only the OAuth Server plugin and get the following behavior:

    – Request to /oauth/authorize/ is redirected to wp-login.php (as expected)
    – Form is filled with credentials and POST request sent to login (as expected)
    – POST-Response is redirect to /oauth/authorize/ (as expected)
    – Request to /oauth/authorize/ is again redirected to wp-login.php (not expected)

    This can endlessly be repeated, so I’m stuck in the process. If I abort after the login and request another page within my wordpress installation, I can see that I’m successfully authenticated by wordpress. It looks like the authentication information gets lost between the wordpress login and the redirect to the authorization endpoint. If I request /oauth/me after successful login in wordpress I get also just an empty array.

    What could be the reason, that the authentication information from wordpress doesn’t get through to the oauth endpoint or what else could be the reason for this behavior.

    Thanks in advance.

    Noqmar

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

    (@justingreerbbi)

    Hi,

    Thank you for posting the issue and sorry you are experiencing it. Please allow me to ask some questions and hopefully pinpoint the issue.

    Ensure a couple of things is in place.

    1. Enable permalinks in the WordPress settings. Something other than the default will do.

    2.If you are using a sub domain or sub directory, check the sub directory options in the WP OAuth Plugin.

    From there we can start drilling down.

Viewing 1 replies (of 1 total)
  • The topic ‘Redirect issue’ is closed to new replies.