• The login page for this dev site is the homepage/base url itself. When I try to go to the /oauth/authorize endpoint, the url redirects to the base url (https://lgmemberdev.wpengine.com) w/ a redirect_to to the base url + /oauth/authorize and then after *that* has a redirect_uri for my api url that’s supposed to handle the authorization code. After inputting the user credentials, it just returns one to the same page and not to my redirect_uri. What needs to be done to make the main url the /oauth/authorize url? Do I need to somehow tell the wp oauth server plugin that the login url is the homepage?

    • This topic was modified 4 years, 9 months ago by sliao.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter sliao

    (@sliao)

    I understand the problem more clearly now, but I can’t figure out how to edit my original post, so I’ll write here. The problem is that, unlike how submitting the login form as part of the typical wp-login.php page will cause the user to be redirected [to the /oauth/authorize endpoint] given the redirect_to b/c the wp-login.php is no longer available to the logged in user, submitting the login form as part of the always available homepage will not redirect the user anywhere after that page/url is refreshed.

    My question remains: how does one use the WP OAuth Server plugin when the login page is the homepage?

    • This reply was modified 4 years, 9 months ago by sliao.
Viewing 1 replies (of 1 total)
  • The topic ‘No redirect when login page is homepage’ is closed to new replies.