Rocket.Chat.Electron icon indicating copy to clipboard operation
Rocket.Chat.Electron copied to clipboard

Authorization: Bearer

Open engelgabriel opened this issue 9 years ago • 3 comments

Turn server URLs like this one:

https://api.oasis.sandstorm.io#R75AxS08WI_MLEks27sn0kyDOGEVqVPjN97KWudxA8H

Into on a request like this:

curl -i https://api.oasis.sandstorm.io -H "Authorization: Bearer R75AxS08WI_MLEks27sn0kyDOGEVqVPjN97KWudxA8H"

And all its subsequent requests to this server must have the Authorization: Bearer header, and you can have multiple connections to the server with different tokens, so it should grab the name from the instance to save on the server list.

This will fix https://github.com/RocketChat/Rocket.Chat/issues/1352 for Desktop.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

engelgabriel avatar Feb 17 '16 04:02 engelgabriel

Looks like this hasn't been fixed as of this comment @rodrigok

compuguy avatar Sep 23 '16 23:09 compuguy

This involves porting over the changes in https://github.com/RocketChat/Rocket.Chat.Cordova/pull/114/files — I've put up a $42 bounty on https://www.bountysource.com/issues/30930738-authorization-bearer

audreyt avatar Jul 21 '17 15:07 audreyt

Any updates on this? I would really like to use the Desktop app with my Sandstorm grain.

ghost avatar Feb 01 '19 23:02 ghost