Comment to 'API authentication'
  • while we are here, I will add another degree of complexity, perhaps this has something to do with it..
    the keypair generated by una oauth2 module and the key pair length generated by rocket chat instance seem to be differing lengths.
    there may be a setting needed to "bring down" the length of the keypair bits value in rocket chat config, but I gave up last month and added the integration to my revolving "to do list" 

    • Please provide me the details about it, Omar Amer , it's very interesting to check it.

      • sorry to have missed this one!

        in short while trying to set up oAuth for rocket chat:

        i noticed the oAuth tokens rocket chat was generating were longer than the oAuth tokens generated by the Una Oauth2 module.

        this suggests a mismatch in key generating algorithms, one weaker, one stronger.

        and for making compatability with both, they would expect the same length keys.  

        :)

        i dont have screenshots handy, this was over a month and a half ago i experienced this.

        LeonidS