wizylabs saidThanks chrismccoy, but the issue is not that its not logging me in. The main issue is that the password entered in the wp_create_user function gets hashed uncorrectly so when I try to log in, either from the wp_signon function or the login page, the password doesn’t work! Im not sure what is causing that, thats the problem
wp_create_user should work using a plain text, but if you want to signin, you have to convert the plain text to the hash, so you have to use the hash function against the plain text.