How to implement OAuth? What are the keys to be passed at the time of user registration as well as user sign in. Because when i implemented it in my react app i got some issues.What i am getting is " rest_forbidden( "you are not allowed to do that")" error. If you need the portion of my code i can give it.When i searched ,i found that it may be due to .htaccess corruption. But i've tried that too , not working..Please provide any docs if possible..
try adding this line in .htaccess file in the end :
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
Also check the function : "signin_user" and " register_user " in wp-content/plugins/vibe-course-module/includes/api/class-api-user-controller.php file.
ok first you need to make a hit to this endpoint :
http://site.com/wp-json/wplms/v1/track/?access=0
This will give various data about what has been updated on site along with a " state "
This state needs to posted with the register user call .Only then you will be allowed to register and login .
check this function " get_verify_permissions_check " in wp-content/plugins/vibe-course-module/includes/api/class-api-user-controller.php file.