title: XpagesSBT WebSecurityStore not write user keys
body: <p>I tried using the demo XPages SBT for understanding the operation dell'OAuth, my aim is to implement, in some of my XPages, Facebook and Twitter.
  I read several guides on the subject but I have several problems:</p>
  
  <p>1) I can not understand why the fields "Consumer Key" and "Consumer Secret" are not read in the database WebSecurityStorage.nsf but only in the faces-config.xml file.</p>
  
  <p>2) when I access Facebook through the "XpagesSBT.nsf / FacebookClientAPI.xsp" (using access via the faces-config.xml) the data is not stored in the "User Keys".</p>
  
  <p>I made several checks but failed to find a solution.
  I use Lotus Domino 9.0.1 FP3 and the latest update of XPagesExtensionLibrary.</p>
  
  <p>Do you have any idea?</p>
  
  <p>This is a part of the file faces-config.xml:</p>
  
  <pre><code>    &lt;!--
          Token store Memory implementation
      --&gt;
  
      &lt;managed-bean&gt;
       &lt;managed-bean-name&gt;CredStore&lt;/managed-bean-name&gt;
       &lt;managed-bean-class&gt;com.ibm.sbt.security.credential.store.MemoryStore&lt;/managed-bean-class&gt;
       &lt;managed-bean-scope&gt;application&lt;/managed-bean-scope&gt;
      &lt;/managed-bean&gt;
  
    &lt;!--
          Password store memory implementation.
      --&gt;
    &lt;managed-bean&gt;
      &lt;managed-bean-name&gt;PasswordStore&lt;/managed-bean-name&gt;
      &lt;managed-bean-class&gt;com.ibm.sbt.security.credential.store.MemoryStore
          &lt;/managed-bean-class&gt;
      &lt;managed-bean-scope&gt;application&lt;/managed-bean-scope&gt;
    &lt;/managed-bean&gt;
    &lt;!--
          Facebook
      --&gt;
    &lt;managed-bean&gt;
      &lt;managed-bean-name&gt;facebook&lt;/managed-bean-name&gt;
      &lt;managed-bean-class&gt;com.ibm.sbt.services.endpoints.FacebookEndpoint
          &lt;/managed-bean-class&gt;
      &lt;managed-bean-scope&gt;application&lt;/managed-bean-scope&gt;
      &lt;managed-property&gt;
        &lt;property-name&gt;url&lt;/property-name&gt;
        &lt;value&gt;http://www.facebook.com/&lt;/value&gt;
      &lt;/managed-property&gt;
      &lt;managed-property&gt;
        &lt;property-name&gt;serviceName&lt;/property-name&gt;
        &lt;value&gt;Facebook&lt;/value&gt;
      &lt;/managed-property&gt;
      &lt;managed-property&gt;
        &lt;property-name&gt;appId&lt;/property-name&gt;
        &lt;value&gt;XPagesSBT&lt;/value&gt;
      &lt;/managed-property&gt;
      &lt;!-- OAuth parameters --&gt;
      &lt;managed-property&gt;
        &lt;property-name&gt;credentialStore&lt;/property-name&gt;
        &lt;value&gt;CredStore&lt;/value&gt;
      &lt;/managed-property&gt;
      &lt;managed-property&gt;
        &lt;property-name&gt;requestTokenURL&lt;/property-name&gt;
        &lt;value&gt;https://graph.facebook.com/oauth/request_token&lt;/value&gt;
      &lt;/managed-property&gt;
      &lt;managed-property&gt;
        &lt;property-name&gt;authorizationURL&lt;/property-name&gt;
        &lt;value&gt;https://graph.facebook.com/oauth/authorize&lt;/value&gt;
      &lt;/managed-property&gt;
      &lt;managed-property&gt;
        &lt;property-name&gt;accessTokenURL&lt;/property-name&gt;
        &lt;value&gt;https://graph.facebook.com/oauth/access_token&lt;/value&gt;
      &lt;/managed-property&gt;
      &lt;managed-property&gt;
        &lt;property-name&gt;consumerKey&lt;/property-name&gt;
        &lt;value&gt;***************&lt;/value&gt;
      &lt;/managed-property&gt;
      &lt;managed-property&gt;
        &lt;property-name&gt;consumerSecret&lt;/property-name&gt;
        &lt;value&gt;*************************&lt;/value&gt;
      &lt;/managed-property&gt;
      &lt;managed-property&gt;
        &lt;property-name&gt;signatureMethod&lt;/property-name&gt;
        &lt;value&gt;HMAC-SHA1&lt;/value&gt;
      &lt;/managed-property&gt;
    &lt;/managed-bean&gt;
  </code></pre>