EspoCRM with Apache basic authentication

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vincent
    Senior Member
    • May 2017
    • 176

    EspoCRM with Apache basic authentication

    We have an Espocrm installed on Apache. To strengthen the security, the Apache basic authentication is enabled. But then EspoCRM cannot work as expected.

    1. Visit EspoCRM using chrome
    a. Login using Apache account
    b. Then login using EspoCRM account
    c. Then the Apache login dialog show agian and it will show and show agina after login button is clicked

    => I can't enter the CRM site


    2. When i call the rest api (https://site/api/v1/User), we've got the following in the response header

    Status:404 Not Found

    date: Mon, 17 Feb 2020 04:12:35 GMT
    server: Apache
    access-control-max-age: 1728000
    access-control-allow-origin: *
    access-control-allow-headers: *
    access-control-allow-credentials: true
    access-control-allow-methods: POST, GET, PUT, PATCH, DELETE, OPTIONS
    x-powered-by: PHP/7.3.14
    x-status-reason: Action GET 'read' does not exist in controller 'App'.
    x-frame-options: SAMEORIGIN
    content-length: 0
    content-type: text/html;charset=UTF-8
    Last edited by Vincent; 02-17-2020, 04:22 AM.
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hello Vincent,
    Please try to make API call using this example: https://site/api/v1/App/user

    Comment

    Working...