Questions tagged [auth-request]

53 questions
0
votes
1 answer

Fallback to auth_request if auth_basic_user_file fails in nginx

How to first have nginx attempt to authenticate the incoming request using basic file authentication and only fallback to using auth_request if file auth fails? I'm trying to replicate the behavior of AuthBasicProvider in Apache where, for example,…
ecaz
  • 33
  • 1
  • 4
0
votes
1 answer

Calling custom nginx module after auth_request

I have a custom nginx module that sets some header to request before proxying request to a server. I also use auth_request for authentication. My location section contains auth_request as well as custom module directive. I want to ensure that the…
Varun
  • 51
  • 1
  • 5
0
votes
0 answers

Nginx request parameters still sent to proxy_pass - how to remove them?

I have this nginx conf in my server - server { listen *:80; server_name kibana_proxy; location = /auth { internal; set $query ''; if ($request_uri ~* "[^\?]+\?(.*)$") { set $query $1; } # add_header…
Mahesh H Viraktamath
  • 818
  • 3
  • 14
  • 34
0
votes
1 answer

Uses of two certificates and one signature

I am currently working on a SSO feature for a client. Our application, if there is a need, will authenticate using the SSO feature on startup, and abort if it fails. I have read many explanations and seen many examples online. The thing that I don't…
0
votes
1 answer

NGINX gives Err 500 or 504 when using Organizr for Auth requests?

I'm currently setting up NGINX to use with my home media server and allow me to connect to my dPVR's such as radarr and sonarr via organizr. The problem I am experiencing is that upon adding auth-request to each of my location blocks for these…
bizzlebazzle
  • 1
  • 1
  • 1
0
votes
4 answers

How to get json data from post url

I have to get JSON from post url. This is my url URl: link Result After process: { "success": false, "error_code": null, "data": { "transaction_status": 0 } } When I hit this url, mutiple url are calling internally after a long…
tech.mohit.garg
  • 631
  • 8
  • 18
0
votes
1 answer

NGINX proxy_pass to another port

I am trying to do an auth_request in nginx by proxy pass but I keep getting: 1 auth request unexpected status: 301 here is my configuration: server { listen 8080; server_name localhost; location /my_location/ { …
Yasmin Reda
  • 385
  • 1
  • 6
  • 18
0
votes
0 answers

How to chain two nginx modules together?

given my setup, I need to do a redirect rule, but only if a request has NOT being authorized by the ngx_http_auth_request_module. I've done a bit of searching, but couldn't find anything. I should be able to set a global variable depending on the…
Bilthon
  • 2,461
  • 8
  • 36
  • 44
1 2 3
4