WP discourse - Uma instância do WordPress com múltiplas instâncias do Discourse

Follow-up question:

Let’s say my users are on 1-year licenses, and their license expires. How can I automate the connection between WP and Discourse so access to the forums is only granted while a license is active?

(Right now, users are activated into the forums immediately, and nothing happens to their access when their account expires—unless I intervene manually. And even then, it’s a denial-of-service kinda thing and not a graceful “you do not currently have access to this resource” kinda thing.)