WordPress LMS for Web and mobile Forums Ionic App Support rest api 401 (Unauthorized) Reply To: rest api 401 (Unauthorized)

Reply To: rest api 401 (Unauthorized)

WordPress LMS for Web and mobile Forums Ionic App Support rest api 401 (Unauthorized) Reply To: rest api 401 (Unauthorized)

#36240

Scott Lang
Keymaster

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.