Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Using Vanilla Users to sign into other applications?

edited November 2010 in Vanilla 2.0 - 2.8
I like the idea behind the SSO Proxy addon, allowing us to tie two apps together, such as existing WP users to be logged into Vanilla.

But, what about the opposite? Using exisiting Vanilla users to automatically be logged into other applications.

Here's what I'm trying to do. I'm building a chatroom for my Vanilla users using the tutorial from http://css-tricks.com/chat2/. What I'd like to do is, instead of having users choose their name at the sign-in screen, to automatically pull their session from the vanilla install into the chat install.

My directory structure is http://site.com (vanilla) and http://site.com/chat (chat).

Can I accomplish this with the SSO addon? Or is there a better way?

I'm also a layman. I don't code php well, just trying to hack as best as I can.

Comments

  • LincLinc Detroit Admin
    edited November 2010
    I made a little standalone class (distilled from core Vanilla code) you can use to validate someone that has a Vanilla cookie. Note the 3 values that need to be copied from your config.php file.
    https://gist.github.com/700805
  • Thank you. I'll see if I can get this working with the chat. Appreciate your help.
Sign In or Register to comment.