Develop with Bankai, with a proxy like Ngrok or Localtunnel proxying the connection.
Current Behavior
Accessing the site causes the browser to error out due to too many redirects.
Possible Solution
lib/http-server.jshttpConnection - do not redirect if the connection is already encrypted (req.connection.encrypted) or there is a x-forwarded-proto header property.
Developing a web app using Auth0 for authentication and user management. The passwordless option requires specifying a callback URL. localhost is not going to suffice. So I am using Ngrok to proxy the connect to the outside world (localtunnel would also work).
a 🐛 bug report
Expected Behavior
Develop with Bankai, with a proxy like Ngrok or Localtunnel proxying the connection.
Current Behavior
Accessing the site causes the browser to error out due to too many redirects.
Possible Solution
lib/http-server.js
httpConnection
- do not redirect if the connection is already encrypted (req.connection.encrypted
) or there is ax-forwarded-proto
header property.req.headers['x-forwarded-proto'] || req.connection.encrypted
Context
Developing a web app using Auth0 for authentication and user management. The passwordless option requires specifying a callback URL.
localhost
is not going to suffice. So I am using Ngrok to proxy the connect to the outside world (localtunnel would also work).Your Environment