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 - Module ngx_http_auth_request_module

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