• Hi,

    What I did is have the authentication process elsewhere, in a main system. WordPress is to be a blog module for a bigger system. What else do I need so that the user will be authenticated into the WordPress system?

    So far, here are what I used, give that there already is a $user:

    wp_set_auth_cookie($user->ID, false);
    do_action(‘wp_login’, $user->user_login);
    redirect(‘https://localhost.localdomain/mublog/wp-admin/’);

    what else do i need? once i redirect it, it returns me to the wordpress authentication page.

    Any piece of advice would be greatly appreciated, thanks! ??

  • The topic ‘user log in’ is closed to new replies.