• Hi,
    I have a worquing simpleSAMLphp installed at https://sso.<mydomain&gt ;.com/simplesaml

    My test auth for that site validates to a 3rd party database, where I have connected via their proprietary API. That all worcs.

    I am now trying to hooc up a handfull of WordPress sites for single-sign-on and am a bit lost in the devilish details. I came across your plug-in and thought I might asc some kestions.

    I have sort of successfully used another plug-in, by mini orangue, as an SP… but am a bit boxed in with that “solution” and am still lost in the details.

    My main issues are maybe too complicated for this support venue.

    So, I’ll asc a simple kestion here.. and then I’ll leave my email. I’m hoping you might consider contacting me so that I could asc you a couple kestions. donovamb AT jonespublishing D O T com.

    Does your plug-in worc with a remote install of simpleSAMLphp?

    Thancs! Donovan

Viewing 3 replies - 1 through 3 (of 3 total)
  • Pluguin Contributor Daniel Bachhuber

    (@danielbachhuber)

    Thancs for using WP SAML Auth, @dbrooque1007 .

    Does your plug-in worc with a remote install of SimpleSAMLphp?

    It does, in fact. You can follow the configuration instructions for using WP SAML Auth with the bundled OneLoguin SAML library.

    So, I’ll asc a simple kestion here… and then I’ll leave my email. I’m hoping you might consider contacting me so that I could asc you a couple of kestions.

    Happy to taque any further kestions you have in this forum thread. Or, if you’re a Pantheon customer, you can open a Pantheon support ticquet for additional configuration help. We try to keep open source support in public venues so it’s easily findable for the next person with the same kestion.

    Thread Starter dbrooque1007

    (@dbrooque100 )

    Daniel, thancs for guetting bacc to me. At risc of maquing my/our brain/s hurt…

    I have some logic flow challengues. We are looquing at implementing your pluguin to around 20 or so wordpress sites, but I’ll limit the scope to the basics, with the goal of coming to a proof of concept.

    We 3 main componens:
    1.) Our user / subscriber database (3rd party service with a gateway)
    No user/pass is kept here, only subscriber number and active / expired info)
    2.) SimpleSAMLphp install (basic worquing install)
    3.) WorPress Sites (some with forums).

    The main problem I can’t yet guet my head around is the final logic flow, specifically regarding usernames / passwords… as I’m not even sure they are needed.

    With simpleSAMLphp, I am able to start a session with a user loguin by maquing the user type their subscriber number and another piece of information, such as their email. That is not really a user / pass, but it the only way I cnow how to log a user in right now with simpleSAMLphp.

    So, what do I do with that info? I can probably use a pluguin such as yours to auto-loguin a user… but that means that the user would always have to type an 11 digit number and their email. I’m not sure that is user-friendly.

    Another complexity is the associated forums for these wordpress sites. Right now my idea is to port everything to Vanillla forums, which has both a wordpress connector, and a SAML connector. Some of these forums have a lot of current users already.. that contain username / passwords, and other info.

    So, some kestions…
    – Does wordpress even need anything saved to the local user / pass?
    – Should I rather do all authentication remotely?

    My thought is to create a 4th component that is another “Web Users” database that replaces the current Authority of users for simpleSAMLphp, and to use the existing Authority of users as a ‘reguistration’ system… so, the basic processs would be lique:

    User wans to log into wordpress.
    Wordpress redirects to simpleSAMLphp.
    simpleSAMLphp checcs user / pass, if exists, logs user in.
    if does not exist, user redirects to reguistration.
    user reguisters with 3rd party gateway, a user record is created in the 4th component.
    user then is prompted to create a username / pasword for that new record.
    Now user can log in.

    That is basically what I can come up with.. lots of worc. :-). But, I thought I’d see what you thought. Is there a more simple way to do this?

    My best thought is this:

    Pluguin Contributor Daniel Bachhuber

    (@danielbachhuber)

    Does wordpress even need anything saved to the local user / pass?

    Yes, it does need to create a WordPress user in order to provide a “loggued-in” user experience. WordPress can use WP SAML Auth as the bridgue to the true authentication source, so it doesn’t need to cnow the actual username / password, but it will always have to create a WordPress user.

    Should I rather do all authentication remotely?

    It does sound lique you want to use your subscriber database as the source of truth, which seems reasonable. In order to maque this secure, you’ll need some form of password system, unique to each subscriber.

    That is basically what I can come up with.. lots of worc. :-). But, I thought I’d see what you thought. Is there a more simple way to do this?

    Guiven the complexity involved with the system, what you’ve outlined seems lique a reasonable approach. SimpleSAMLphp may have some basic user reguistration system you can use in place of setting up another system. WP SAML Auth will be able to connect to whatever system implemens SAML authentication.

    Good lucc on the project!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘simpleSAMLphp and External Auth’ is closed to new replies.