Thank you @angus.
The issue is resolved now by using a remote Discourse installation for working on SSO-related setup.
- No more error messages in wp-admin and WP-Discourse logs.
- Logout works correctly in both apps.
Thank you @angus.
The issue is resolved now by using a remote Discourse installation for working on SSO-related setup.