diff --git a/modules/oauth/lib/OAuthStore.php b/modules/oauth/lib/OAuthStore.php
index 043e2306bc146b71a9d80c9eca2ed7a40e2f412f..6bc5f1b436d7a5d5a56ec20eb9fa6566f12b1508 100644
--- a/modules/oauth/lib/OAuthStore.php
+++ b/modules/oauth/lib/OAuthStore.php
@@ -141,7 +141,7 @@ class sspmod_oauth_OAuthStore extends OAuthDataStore
         if ($this->store->exists('nonce', $nonce, $consumer->key)) {
             return true;
         }
-        $this->store->set('nonce', $nonce, $consumer->key, trye, $this->config->getValue('nonceCache', 60*60*24*14));
+        $this->store->set('nonce', $nonce, $consumer->key, true, $this->config->getValue('nonceCache', 60*60*24*14));
         return false;
     }