Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Single sign on for Vanilla 1

edited September 2009 in Vanilla 1.0 Help
Any chance of this addon seeing the light of day or should I write it?

Comments

  • (kind of off topic, but) you know php and are able to create addons?
  • Why bother? Wait 2 months and you can upgrade to Vanilla 2 and have it there. If you really want it though, yes, you'll probably need to bake it yourself.
  • I coded it myself in the end. It's relatively simple thanks to some good modular code from @Mark and the team.
  • MarkMark Vanilla Staff
    Care to share your code?
  • edited November 2009
    Sorry, I just saw your comment.

    Yes, I can but I need to tweak it a little so that the cookie is referenced to in the database and not on the local machine. We have two web servers serving vanilla from one DB and login does not work well if you are load balanced between servers.

    To be honest, the code is so well designed that it was a pleasure to hack it. Well documented, easy to follow and overall just good. @Mark, thank you!
  • MarkMark Vanilla Staff
    Awesome!
  • talking about that one.. What would be the best way to do this?

    Say, I have X vanilla servers all pooling data from a database server (technically, a cluster but as far as Vanilla knows, one IP). What would be the best way to hold sessions? Update the database to have another field in LUM_Users or something else?

    Ideas welcome.
  • For the DbSession addon, I create a table for it. By default it uses the same DB, but it let the user set an alternative one for it.
Sign In or Register to comment.