Reply To: rest api 401 (Unauthorized)


Scott Lang
Hi, Put this line in your .htaccess file at the end (.htaccess can be found in the root of your site ):SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0IF above does not works then please change the above line to :SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$1 Also after adding code you will able to see the profile page of logged-in user.
Copyright VibeThemes.