<?xml version="1.0" encoding="UTF-8"?>
<page xmlns="http://jboss.org/schema/seam/pages"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://jboss.org/schema/seam/pages http://jboss.org/schema/seam/pages-2.3.xsd"
    view-id="/login.xhtml">

    
    <rewrite pattern="/login" />

    <navigation from-action="#{identity.login}">
        <rule if="#{identity.loggedIn}">
            <redirect view-id="/home.xhtml" />
        </rule>
    </navigation>

    <navigation from-action="#{authenticator.preAuthenticate}">
        <rule if-outcome="true">
            <redirect view-id="/home.xhtml" />
        </rule>
    </navigation>
</page>

<?xml version="1.0" encoding="UTF-8"?>
<page xmlns="http://jboss.org/schema/seam/pages"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://jboss.org/schema/seam/pages http://jboss.org/schema/seam/pages-2.3.xsd"
    view-id="/login.xhtml">

    <action execute="#{authenticator.preAuthenticate}" on-postback="false" />
    <rewrite pattern="/login" />

    <navigation from-action="#{identity.login}">
        <rule if="#{identity.loggedIn}">
            <redirect view-id="/home.xhtml" />
        </rule>
    </navigation>

    <navigation from-action="#{authenticator.preAuthenticate}">
        <rule if-outcome="true">
            <redirect view-id="/home.xhtml" />
        </rule>
    </navigation>
</page>

Fix oxTrust oxAuth authentication method
Fix oxTrust oxAuth authentication method