You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@scrol could you tell me at which application do you have devise set up? (at the same, that has rack-reverse-proxy or the app that you are proxying to)?
I need something similar, I want to reverse proxy to an API that requires authentication (via a header). I don't know how to pass the header along. Ideally something like :
reverse_proxy '/api', 'www.internal-api.com/api' do |req|
req.headers: { 'X-My-Custom-Auth-Header': 'token-12345' }
end
how to authenticate if the current user is logged in, and then allow the requests to be forwarded to the proxy server?
The text was updated successfully, but these errors were encountered: