Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.

Vanilla jsConnect Auto SignIn 0.1.8b

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