Title: WP login to python site
Last modified: July 7, 2025

---

# WP login to python site

 *  [patbell101](https://wordpress.org/support/users/patbell101/)
 * (@patbell101)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/wp-login-to-python-site/)
 * 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)

 *  [bvbaked](https://wordpress.org/support/users/bvbaked/)
 * (@bvbaked)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/wp-login-to-python-site/#post-18544058)
 * Are we talking two separate sites, similar to a headless setup?
 * [https://wordpress.com/plugins/headless-single-sign-on](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](https://wordpress.org/support/users/patbell101/)
 * (@patbell101)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/wp-login-to-python-site/#post-18545229)
 * 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.

## Tags

 * [python](https://wordpress.org/support/topic-tag/python/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [patbell101](https://wordpress.org/support/users/patbell101/)
 * Last activity: [11 months, 1 week ago](https://wordpress.org/support/topic/wp-login-to-python-site/#post-18545229)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
