如何在评论时悄悄登录 WordPress?

We have discourse configured as SSO provider for wordpress, We’re looking forward for a way to automatically log in users who visit WordPress if they’re logged in to discourse.

Can it be done by the means of some specially crafted link or implementation of some configuration?

If you add a link like this to Discourse, users who click it will be logged in on your WordPress site. Set the redirect_to parameter to the page you want users to end up on:

<a href="http://wordpress.dev/?discourse_sso=1&redirect_to=http://wordpress.dev/">Link Text</a>
3 个赞

此主题已在 2190 天后自动关闭。不再允许回复。