<![CDATA[ Vanilla 2 Integration - My Forums]]> https://forums.modx.com/thread/?thread=48998 <![CDATA[Re: Vanilla 2 Integration]]> https://forums.modx.com/thread/48998/vanilla-2-integration?page=7#dis-post-473603
I get the sign with modx button, but clicking it takes me to my modx login page. Logging in then forwards me to my forum, which states that i'm not logged in.

I've followed the instructions at the link below:

http://sottwell.com/article-vanilla/

]]>
x0149128 Jul 31, 2013, 11:42 AM https://forums.modx.com/thread/48998/vanilla-2-integration?page=7#dis-post-473603
<![CDATA[Re: Vanilla 2 Integration]]> https://forums.modx.com/thread/48998/vanilla-2-integration?page=7#dis-post-473541 x0149128 Jul 30, 2013, 09:06 PM https://forums.modx.com/thread/48998/vanilla-2-integration?page=7#dis-post-473541 <![CDATA[Re: Vanilla 2 Integration]]> https://forums.modx.com/thread/48998/vanilla-2-integration?page=7#dis-post-473521 http://sottwell.com/article-vanilla/

http://vanillaforums.com/blog/help/implementing-jsconnect-single-signon-on/]]>
sottwell Jul 30, 2013, 06:29 PM https://forums.modx.com/thread/48998/vanilla-2-integration?page=7#dis-post-473521
<![CDATA[Re: Vanilla 2 Integration]]> https://forums.modx.com/thread/48998/vanilla-2-integration?page=6#dis-post-473514 x0149128 Jul 30, 2013, 05:07 PM https://forums.modx.com/thread/48998/vanilla-2-integration?page=6#dis-post-473514 <![CDATA[Re: Vanilla 2 Integration]]> https://forums.modx.com/thread/48998/vanilla-2-integration?page=6#dis-post-453900
When the jsconnect is trying to request the SSO modx page it's adding in an additional question mark to the url so you get:
"mydomain.com/index.php?id=2?client_id=111111111111"

Cheers]]>
bennyb Feb 05, 2013, 09:45 AM https://forums.modx.com/thread/48998/vanilla-2-integration?page=6#dis-post-453900
<![CDATA[Re: Vanilla 2 Integration]]> https://forums.modx.com/thread/48998/vanilla-2-integration?page=6#dis-post-453858 Quote from: sottwell at Aug 25, 2010, 10:21 PM

5. Create a plugin using the OnWebLogout system event with the following code:
$e = &$modx->Event;

switch($e->name) {
    case 'OnWebLogout': // integrated logout
            setcookie('Vanilla', ' ', time() - 3600, '/', '.domain.com');
            unset($_COOKIE['Vanilla']);
    break;
}


is no longer needed as no mention in you article. If so what telling vanilla to create the user thats just logged in.

I'm working locally, but will possibly try on a modx dev cloud so at least i know the environment is the same as you tut.

]]>
bennyb Feb 05, 2013, 05:47 AM https://forums.modx.com/thread/48998/vanilla-2-integration?page=6#dis-post-453858
<![CDATA[Re: Vanilla 2 Integration]]> https://forums.modx.com/thread/48998/vanilla-2-integration?page=6#dis-post-453857 sottwell Feb 05, 2013, 05:42 AM https://forums.modx.com/thread/48998/vanilla-2-integration?page=6#dis-post-453857 <![CDATA[Re: Vanilla 2 Integration]]> https://forums.modx.com/thread/48998/vanilla-2-integration?page=6#dis-post-453854 Quote from: sottwell at Oct 16, 2012, 04:35 AM
Vanilla will automatically create the user upon logging in via the MODx login.

Hey Susan,

Following your vanilla article:
http://sottwell.com/article-vanilla/

But have the same issue where no user is auto created. In the Original Post of this discussion you create a plugin, but your article doesn't mention it but guessing thats because it was only needed with the "ProxyConnect" vanilla plugin.

Everything else seems to work, the vanilla login has an option to sign in with the modx site and the links direct to the correct pages.

I've tried setting
$secure = false;

in the vanilla snippet to see if it was to do with the client id/secret but same problem.

Any suggestions what I maybe missing.

Thanks

]]>
bennyb Feb 05, 2013, 05:35 AM https://forums.modx.com/thread/48998/vanilla-2-integration?page=6#dis-post-453854
<![CDATA[Re: Vanilla 2 Integration]]> https://forums.modx.com/thread/48998/vanilla-2-integration?page=6#dis-post-440324 sottwell Oct 16, 2012, 06:39 AM https://forums.modx.com/thread/48998/vanilla-2-integration?page=6#dis-post-440324 <![CDATA[Re: Vanilla 2 Integration]]> https://forums.modx.com/thread/48998/vanilla-2-integration?page=6#dis-post-440322
This is making my head spin.

]]>
markg Oct 16, 2012, 06:36 AM https://forums.modx.com/thread/48998/vanilla-2-integration?page=6#dis-post-440322