Jump to:

23453 Posts in 18904 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Single sign on accross multiple Silverstripe installs

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 592 Views
  • lanks
    Avatar
    Community Member
    61 Posts

    Single sign on accross multiple Silverstripe installs Link to this post

    I need to implement single authentication across multiple SS websites. These SS websites will be under the same URL, where each website is a sub-domain of the other.

    Each of these websites will serve a specific purpose in terms of functionality so the subsites module doesn't provide what I need. I want to keep the databases for each website seperate.

    Ideally I don't want to rely on external sources for authentication e.g. facebook or openid.

    I am not sure what the best approach would be to implementing this. The desired design would be that users authenticate from one ss website which is like a gateway. Then from their they can navigate to the other websites without having to authenticate again at each website.

    So if anyone has done something like this or has some ideas on how it could be implemented then please share.

  • Tim Snadden
    Avatar
    Community Member
    32 Posts

    Re: Single sign on accross multiple Silverstripe installs Link to this post

    The external authentication module might be what you are after (https://github.com/hamishcampbell/silverstripe-auth-external). It supports a number of different authentication methods. You could set up basic authentication on a virtual host or directory on your web server and point the silverstripe instances there for authentication.

    Note that authorisation still happens inside silverstripe.

  • Tim Snadden
    Avatar
    Community Member
    32 Posts

    Re: Single sign on accross multiple Silverstripe installs Link to this post

    I've just another look at the module and it looks like it supports silverstripe authentication as well. So you could set up one instance as the authenticator and point the others there. I've only used basic authentication though.

    592 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.