# Discourse（作为提供者）+ WP SSO nonce 错误

**URL:** https://meta.discourse.org/t/discourse-as-provider-wp-sso-nonce-error/117113
**Category:** WordPress
**Created:** [2019年五月7日 19:48 UTC](https://meta.discourse.org/t/discourse-as-provider-wp-sso-nonce-error/117113 "2019-05-07T19:48:12Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [2019年五月8日 02:23 UTC](https://meta.discourse.org/t/discourse-as-provider-wp-sso-nonce-error/117113/7 "2019-05-08T02:23:01Z")

</div>

> [@Sami\_Syed](#):
>
> It only worked once, and then I tried it again right after (without making any changes) and it gave me the error.

There’s a good chance that what is happening on your site is related to the nonce being cached. Could you have a look at [Wordpress SSO Expired nonce - #15 by simon](https://meta.discourse.org/t/wordpress-sso-expired-nonce/105159/15)?

If you are able to add the code from that post to your theme, can you let me know what the results are?

---

_[View the full topic](https://meta.discourse.org/t/discourse-as-provider-wp-sso-nonce-error/117113)._
