RocketChat / RocketChat/Rocket.Chat.Electron

Authorization: Bearer

Open
#97 3 comments 0 reactions 1 assignee View on GitHub

@rodrigok is already working on this.

Since Feb 17, 2016.

Dominant language
TypeScript
Stars
1.7k
Forks
835
Avg merge
1d 21h
Merged PRs (30d)
15

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.