OCA / server-auth

https://odoo-community.org/psc-teams/tools-30
GNU Affero General Public License v3.0
151 stars 404 forks source link

[13.0] auth_api_key: use Odoo behind NGNIX #255

Closed abdallamohamedcore closed 1 year ago

abdallamohamedcore commented 3 years ago

Hello,

I have issue when use "auth_api_key" behind NGNIX as it response with below:

<title>403 Forbidden</title>
<h1>Forbidden</h1>
<p>You don't have the permission to access the requested resource. It is either read-protected or not readable by the
    server.</p>

Can i know how to solve this issue

hgarridoco commented 2 years ago

Hi,

Add to your nginx.conf file this directive: underscores_in_headers on;

andrp92 commented 2 years ago

I'm having same issue.

github-actions[bot] commented 2 years ago

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

andrp92 commented 2 years ago

Anyone?

hgarridoco commented 2 years ago

Anyone?

Please, see my reply. I fix it adding in my nginx.conf file this directive: underscores_in_headers on;

andrp92 commented 2 years ago

Thank you

On Wed, Aug 10, 2022 at 10:06 AM Héctor Garrido Colmenarejo < @.***> wrote:

Anyone?

Please, see my reply. I fix it adding in my nginx.conf file this directive: underscores_in_headers on;

— Reply to this email directly, view it on GitHub https://github.com/OCA/server-auth/issues/255#issuecomment-1210723815, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGWC2OSIBYXBGJHJAL7FZELVYOZONANCNFSM4ZEFBOFA . You are receiving this because you commented.Message ID: @.***>

--

Andrés M. Rodríguez

Chief Operating Officer

D (829) 956 5191

M (809) 608 5705

E @. @.>

Av. Gustavo Mejía Ricart 52, 2do Nivel

Ens. Naco, Santo Domingo, R. Dominicana

--

Este mensaje y sus anexos pueden contener información confidencial y privilegiada con la intención de que sea utilizada por las personas u organizaciones a quienes esta dirigida, por lo que su uso es exclusivo para su destinatario. Si usted ha recibido este mensaje por error, favor de eliminarlo e informar al remitente del mensaje a través de un correo de respuesta. Si este es el caso, le notificamos que queda estrictamente prohibida la distribución o reproducción de este e-mail y/o sus anexos. iterativo no se hace responsable de las opiniones vertidas en esta comunicación que no estén acordes con su quehacer y fines, y que no se revistan de un carácter oficial. 

This message and its enclosures may contain confidential and privileged information intended for the use of people and organizations to which it is directed and its use is thus limited to its addressee. If you have received this message by mistake, please eliminate it and inform the sender through a reply message. Should this be the case, you are advised that the distribution or reproduction of this e-mail and/or any attachments contained herein is strictly forbidden. iterativo is not liable for opinions expressed in this message which may not coincide with its responsibilities and purpose and which may not express official matters. 

 


*No imprimas este correo si no es necesario. Cuidemos del ambiente!*****

Do not print this mail if it's not necessary. Let's take care of the environment!

github-actions[bot] commented 1 year ago

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.