Ngx_http_auth_request_module

Good afternoon.
I have a SPA WHERE users log in via auth0. In this CASE, you need to take some photos.
Can you tell me if you can do this via nginx?

I found the ngx_http_auth_request_module module - https://nginx.org/en/docs/http/ngx_http_auth_request_module.html

What parameter should be specified in the auth_request - proxy_pass Directive ?