-
Documentation (Sub-task)
-
Resolution: Unresolved
-
Trivial
-
None
-
None
-
None
-
S25-W6/7, S25-W8/9, S25-W10/11, S25-W12/13, S25-W14/15, S25-W16/17, S25-W18/19
Office365 personal accounts do not support query strings in the redirect URL.
Reference: Microsoft Identity Platform - Reply URLs
Workaround for Apache web server:
To support a clean redirect URL (without query parameters), the server administrator can add the following rewrite rule to the .htaccess file:
RewriteEngine On
RewriteRule ^/oauth\.authorize$ /zabbix.php?action=oauth.authorize [QSA,L,PT]
This enables the use of a simplified redirect URL like:
http://server-name/zabbix/oauth.authorize
instead of a URL with query parameters, ensuring compatibility with Office365 personal accounts.