Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you are using Apache server, perhaps the HTTP:Authorization header is disabled on your server. For security, 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

  • Support SSL on your phpFox site
  • Enable HTTP:Authorization header
    • You can contact your hosting provider for help

...

    • . Or add following rules in .htaccess  to hotfix the issue by yourself
Code Block
RewriteCond %{HTTP:Authorization} ^(.*) 
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]

...