wp-discourse/SSO の断続的な問題:Nonce が既に期限切れ

I adding some more to my debugging input so I could inspect the $sso_params passed into the sync_sso in an existing user case (success) versus new user case (failure), they both look similar. They both show properly filled out values for all these:

[avatar_force_update]
[avatar_url
[bio]
[name]
[require_activation]
[email]
[username]
[external_id] 

What’s also head-scratching is that we have another very similar WordPress/Discourse installation and this doesn’t happen at all there. I’m going to pore over all the Discourse settings for each and see if there any differences that might be causing this.

「いいね!」 2

I compared the settings for each of our Discourse forums and they are virtually the same. Thanks @RGJ for the help here. You guys are always very helpful. And luckily we hardly have any issues due to your good hosting. I’m sure we’ll track this down.

「いいね!」 1

実行中の EC2 インスタンスをバックアップして再度起動した後、同じ問題に直面しました。

Nonce は、CSRF 検証のために Redis とセッションに値が設定されていることに依存しています。

SiteSetting.discourse_connect_csrf_protection を無効にしたところ、ログインが一貫して動作するようになりましたが、セッションが正しく設定されない理由についてはまだデバッグしていません。