clef/clef-wordpress

Renaming `wp-login.php` with default link structure causes Clef to fail

Opened this issue · 0 comments

The default link structure is ?p=123. When I use the Rename wp-login.php plugin with the default link structure, logging in with Clef redirects me to the homepage instead of logging me in.

If I set the url to ?login, after I log in I get ?login=undefined and then the Clef oauth_code, etc. If I remove the =undefined part, then the rest of the handshake is triggered and I'm logged in. Somewhere, Clef code is inserting =undefined to the URL parameter, which is causing the login page (and handshake code) not to be triggered.