Appearance
Linked Providers
With the linked_providers tag you can connect multiple providers to your account
The tag
{exp:reinos_sso:linked_providers}The tag lists the providers that are enabled in the CP. It shows nothing when nobody is logged in. Without enabled providers you can use {if no_results}.
Tag Parameters
Below are the Tag Parameters. Those parameters can be used in the tag described above, Default to the current_url.
return
the return url where the user will be redirected after connecting or disconnecting a provider, and when that fails. Default to the current page. From v6.0.0 this must be a relative URL or a URL on the domain of your site, see How it works.
return=""no_email_return
Deprecated: this param is not used.
no_email_return=""new_member_return
This param is added to the {provider_connect_link}, but not used: connecting a provider never creates a new member, so the visitor always goes to return.
new_member_return=""Variables
Below are the variables. Those variables can be used in the tag described above
provider_connect_link
The connect link to a provider. When the provider is already connected, this variable is 1 instead of a link.
{exp:reinos_sso:linked_providers}
{provider_connect_link}
{/exp:reinos_sso:linked_providers}provider_disconnect_link
The disconnect link to a provider. When the provider is not connected, this variable is 1 instead of a link. From v6.0.0 the link contains the CSRF token of the session, see Disconnect.
{exp:reinos_sso:linked_providers}
{provider_disconnect_link}
{/exp:reinos_sso:linked_providers}provider_name
The Provider name
{exp:reinos_sso:linked_providers}
{provider_name}
{/exp:reinos_sso:linked_providers}provider_is_connected
Variable to check if a user is connected
{exp:reinos_sso:linked_providers}
{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}
{/exp:reinos_sso:linked_providers}