Redirect issue
-
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
- The topic ‘Redirect issue’ is closed to new replies.