Auth pages Not working - App

If you are having issue with auth pages in your app, like logout, orders list. It is possible your server is not forwarding the auth header to the backend to handle, usually it occurs in vps using apache/whm.

The solution is to add a line to the apache configuration, to ensure apache forward the auth header to the backend to handle.

Add the code below to your pre-virtualhost include config

SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

Last updated