If you get TokenExpired message right after logging in to your App, please access to your WordPress folder -> Opening .htaccess -> Put the following code to this file.
<IfModule mod_rewrite.c>
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
</IfModule>
Note that the above code must be outside of
# BEGIN WordPress
# END WordPress
Wrong
# BEGIN WordPress
<IfModule mod_rewrite.c>
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
</IfModule>
# END WordPress
Correct:
# BEGIN WordPress
.....
# END WordPress
<IfModule mod_rewrite.c>
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
</IfModule>
Or you can put the
SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1
to apache configuration like this:
<VirtualHost>
# ...
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
# ...
</VirtualHost>
If you still face this issue, Please contact your hosting provider to report this issue.