• I have a wp site that I want to link to a python site. I want the users to login to the wp site and be able to click a link to the python site which has the same user credentials. Everywhere I have looked seems to expect the python code to already know the userID to communicate with WP but I need the ython site to be autologgedin when the link is accessed from logged in wp.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Are we talking two separate sites, similar to a headless setup?

    https://wordpress.com/plugins/headless-single-sign-on An SSO plugin similar to this is probably what you need. WordPress manages the stored login through cookies and all the credentials and user information is stored in the database which your python site is not likely able to access.

    I have not used or tested this particular plugin: it is only linked to provide an example. You will need to do some research to ensure that it fits your site configuration and handles your specific use case if this one does not

    Thread Starter patbell101

    (@patbell101)

    Not sure if that is so. I have an existing wp website and have had a separate python site developed on a separate VPS. My intention was to simply have access from the WP site to the python site via a URL.

    I thought it would be done just by cookies or perhaps additional parameters on the url but I doubt that is secure enough.

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

The topic ‘WP login to python site’ is closed to new replies.