HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
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
Vanilla 2021.009 Compatibility
The community has said nothing.
Version History
No stable versions found! |
---|
Prerelease (unstable)
0.1.8b | December 2013 |
0.1.7b | August 2013 |
0.1.6b | August 2013 |