Examples

login

This is the main login tag.

<h1>Screen name: {screen_name}</h1>

<strong>Error</strong>:{exp:reinos_sso:login_error}

<br><br>
{exp:reinos_sso:login_links}
    <a href="{provider_link}">{provider_name}</a>
{/exp:reinos_sso:login_links}

<br>
<a href="{path='logout'}">logout</a>

Connect more providers

This tag can be used, to let user connect their existing account to a social providers

Error: {exp:reinos_sso:auth_error}

<ul>
    {exp:reinos_sso:linked_providers}
        <li>
            {if provider_is_connected}
                <a href="{provider_disconnect_link}">Disconnect from {provider_name}</a>
            {if:else}
                <a href="{provider_connect_link}">Link with {provider_name}</a>
            {/if}
        </li>
    {/exp:reinos_sso:linked_providers}
<ul>