New answers tagged

1

This showed up as a notification due to the upvote. Here's how I solved it. The endpoint coded in the app that I am supposed to authenticate with prepares the token. The token has to be in the specified format. It then should be base 64 encoded and hash encrypted. The wp_init handler should be used to handle the POST request sent by the endpoint, to ...


1

You don't want to be messing around with that. Look at the following hook: https://codex.wordpress.org/Plugin_API/Action_Reference/wp_login You should do something like: function check_test_user() { // Your code here } add_action('wp_login', 'check_test_user'); The hook will run as part of the Login process and saves you modifying core Wordpress files.



Top 50 recent answers are included