<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.open-xchange.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Youssef.benabdalla</id>
	<title>Open-Xchange - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.open-xchange.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Youssef.benabdalla"/>
	<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=Special:Contributions/Youssef.benabdalla"/>
	<updated>2026-08-06T21:43:30Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=AppSuite:ExternalLoginPage&amp;diff=24753</id>
		<title>AppSuite:ExternalLoginPage</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=AppSuite:ExternalLoginPage&amp;diff=24753"/>
		<updated>2019-07-08T10:59:05Z</updated>

		<summary type="html">&lt;p&gt;Youssef.benabdalla: /* Setting custom login as logout location */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to set up an external login page for App Suite =&lt;br /&gt;
&lt;br /&gt;
== Who should read this document ==&lt;br /&gt;
&lt;br /&gt;
This document is written for web developers who would like to create a custom login mask for the OX App Suite. The login mask can reside on an external server i. e., not directly located in the domain of the Open-Xchange machines. It is also intended for administrators who install and maintain Open-Xchange services.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== HTML ==&lt;br /&gt;
&lt;br /&gt;
The Open-Xchange [https://documentation.open-xchange.com/latest/middleware/http_api.html HTTP API (Form login)] has a function to&lt;br /&gt;
create a session from external.&lt;br /&gt;
&lt;br /&gt;
The full detailed explanation how the HTML form is used and errors can be handled can be found here:&lt;br /&gt;
&lt;br /&gt;
[[OXSessionFormLogin|OX Session Formlogin]]&lt;br /&gt;
&lt;br /&gt;
== Redirect to custom login ==&lt;br /&gt;
&lt;br /&gt;
Users can still access the original product login site. If this is not wanted the following Apache &lt;br /&gt;
configuration for your VirtualHost can be used to redirect all requests to your custom login page:&lt;br /&gt;
&lt;br /&gt;
before 7.8.0:&lt;br /&gt;
&lt;br /&gt;
 RewriteEngine On&lt;br /&gt;
 RewriteRule ^/appsuite/signin /custom-login.html [R]&lt;br /&gt;
&lt;br /&gt;
Since 7.8.0 it can be configured directly in &amp;lt;code&amp;gt;/opt/open-xchange/etc/as-config.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Override certain settings&lt;br /&gt;
default:&lt;br /&gt;
    host: all&lt;br /&gt;
    loginLocation: &#039;http://example.com/appsuite/mycustomlogin.html&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note: you need to have the right syntax (like leading spaces) in the .yml file.&lt;br /&gt;
&lt;br /&gt;
It is possible to have different login pages for different domains, just add another section with a different host: &amp;lt;mydomain.com&amp;gt; line.&lt;br /&gt;
&lt;br /&gt;
== Setting custom login as logout location ==&lt;br /&gt;
&lt;br /&gt;
If users should be directed to the custom login form after logout from App Suite the following property can be set globally somewhere in /opt/open-xchange/etc/settings/. Either create a new properties file or add the option in any existing one. For more complex setups e.g. with different brands please check out how to set this property in context or user scope which is explained [[ConfigCascade|here]].&lt;br /&gt;
&lt;br /&gt;
 io.ox/core//customLocations/logout=https://login.example.com&lt;br /&gt;
&lt;br /&gt;
For cases where only one custom login page exists for all users it&#039;s also recommended to set&lt;br /&gt;
&lt;br /&gt;
 logoutLocation: &#039;https://login.example.com/&#039;&lt;br /&gt;
&lt;br /&gt;
in &#039;&#039;&#039;/opt/open-xchange/etc/as-config.yml&#039;&#039;&#039;. This setting takes effect for example if an autologin session is expired. as-config.yml itself defines settings in dependence of the hostname configured for the Open-Xchange access.&lt;br /&gt;
&lt;br /&gt;
If both settings are defined for a user, io.ox/core//customLocations/logout will be used.&lt;/div&gt;</summary>
		<author><name>Youssef.benabdalla</name></author>
	</entry>
</feed>