I’m not clear why not use sso.
You could use DiscourseConnect - Official Single-Sign-On for Discourse (sso) and check out the WP Discourse plugin installation and setup as a reference for developing php code to connect to it.
I’m not clear why not use sso.
You could use DiscourseConnect - Official Single-Sign-On for Discourse (sso) and check out the WP Discourse plugin installation and setup as a reference for developing php code to connect to it.