Welcome! Log In Create A New Profile

Advanced

auth_request: is it possible to return auth_request result directly to client?

Jan Wrobel
March 11, 2013 05:22AM
Hi,

Currently I have auth_request module configured to return static pages
on 401 and 403 errors. This looks like this:

auth_request /auth/api/is-authorized/;
error_page 401 /auth/login.html;
error_page 403 /auth/not_authorized.html;

Instead of this, is it possible to return 401 and 403 responses (along
with bodies) from the authentication backend directly to the client?

Thanks,
Jan

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

auth_request: is it possible to return auth_request result directly to client?

Jan Wrobel March 11, 2013 05:22AM

Re: auth_request: is it possible to return auth_request result directly to client?

Maxim Dounin March 11, 2013 06:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 145
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready