• I have a similar scenario as saintmulligan.

    I have a rails website, which I’ve configured for json login.

    I am creating a wordpress website. I would like to have a “single sign-on”, so that users who have signed on (and are cookied) on my rails site can access the wordpress site
    (eventually to post as well as to read posts).

    I am investigating using this plugin, along with another plugin to limit reader — Ive been looking at this https://www.ads-software.com/plugins/restricted-site-access/

    So far, I’ve installed and filled out the settings for RESTful Single Sign-On Plugin,
    but I don’t see it doing anything happening. I don’t see any requests goint to my rails server when I log in or post, and using wp-login.php still uses the wordpress logins, not my rails logins.

    I am not an expert in wordpress, or PHP. I looked in the apache logs and don’t see anything relevant.

    My sites are running locally right now, but I can push the test out if that would help.

    Maybe I’m misunderstanding what this plugin does, or maybe I’ve not configured it correctly.

    Here are my settings:
    Authentication Endpoint https://localhost:5001/auth/login
    Password Reset Endpoint (blank)
    Authenticated Resource user
    Resource Username email
    Resource Password password
    Resource Email email
    Resource First Name first_name
    Resource Last Name last_name
    Response Error Property error
    Authorization Cookie nysci-wp.dev (my local wordpress. I tried chang
    Cookie Domain nysci-wp.dev (I tried localhost:5001 as well)
    Current User Info URL localhost:5001/auth/edit (this may not be right but I don’t think we are getting this far)

    https://www.ads-software.com/plugins/wp-restful-single-sign-on/

Viewing 1 replies (of 1 total)
  • Thread Starter tomfbiz

    (@tomfbiz)

    Update — some of my issues seemed to relate to trying to connect to localhost. Using a hosted rails site and the plugin, I can now use the wp-login to log in with credentials from the rails site.

    How would you recommend that I bypass the login screen entirely and have users only sign in on the rails site? Would this plugin be of use for that case?

Viewing 1 replies (of 1 total)
  • The topic ‘Not sure how to make this work’ is closed to new replies.