This page is for common issues happening on the phpFox Mobile apps and our solutions
If you are using Apache server, perhaps the HTTP:Authorization header is disabled on your server. It is necessary to inform that our mobile apps use OAuth2 Authorization to authenticate mobile apps and server API to improve security. The OAuth2 requires HTTP:Authorization header and SSL to be enabled. Therefore, you should
RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule .* - [e=HTTP_AUTHORIZATION:%1] |
If Apache is configured to use Virtual Hosts, adding above rules to .htaccess will not work. Instead, this configuration must be added directly to Apache's configuration:
<VirtualHost> # ... RewriteEngine on RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule .* - [e=HTTP_AUTHORIZATION:%1] # ... </VirtualHost> |
In case you followed our solution but the issue still happens, please feel free to submit tickets in our Client Area in order for us to help take further investigation.