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

rest api 401 (Unauthorized)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36169

    Mohammed Zaki
    Participant

    all api has 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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.