I think there is a bug!
-
I was testing on local server! My wordpress oauth endpoints
request “https://localhost/mrd/oauth1/request”
authorize “https://localhost/mrd/oauth1/authorize”
access “https://localhost/mrd/oauth1/access”Whenever calls are made in “loggedout state” redirect to login page will have wrong redirect uri..
https://localhost/mrd/mrd/oauth1/authorize?…..i changed ur file “plugins/oauth2-provider/library/class-wo-table.php” line No: 187
fixed my problemwp_redirect( wp_login_url( site_url( $_SERVER[‘REQUEST_URI’] ) ) );
to
wp_redirect( wp_login_url( $_SERVER[‘REQUEST_URI’] ) );
pls correct me if im wrong!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘I think there is a bug!’ is closed to new replies.