Vanilla jsConnect Auto SignIn 0.1.7b

Forces sign in with the first available provider

Vanilla jsConnect Auto SignIn

About

Forces sign in with the first available provider

Sponsor

Special thanks to KyleIrving (www.kyle-irving.co.uk) for making this happen.

Notes

tested on 2.0.18, 2.1

requires jsConnect, no longer requires guest module

forum sign out can be replaced with your provider's sign out. e.g. by setting

$Configuration['Garden']['Authenticator']['SignOutUrl']

then add to conf/bootstrap.before.php (create the file if necessary)

<?php if (!defined('APPLICATION')) exit();
     function SignOutUrl($Target = '') {
        $SignOutUrl = C('Garden.Authenticator.SignOutUrl','/signout/{Session_TransientKey}?Target=%2$s');
        $SignOutUrl = FormatString($SignOutUrl,array('Session_TransientKey'=>Gdn::Session()->TransientKey()));
        $SignOutUrl = sprintf($SignOutUrl,($Target ? '&Target='.urlencode($Target) : ''));
        return $SignOutUrl;
     }

Set

$Configuration['Plugins']['jsconnectAutoSignIn']['HideConnectButton'] = TRUE;
$Configuration['Plugins']['jsconnectAutoSignIn']['HideSignIn'] = TRUE;

if you want to hide those

Questions