RocketChat / RocketChat/Rocket.Chat
Sending messages from scripts using authentication tokens/OAuth
@graywolf336 is already working on this.
Since May 4, 2017.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Rocket.Chat Version: 0.54.2
Running Instances: 2
DB Replicaset OpLog: Enabled
Node Version: v4.7.3
I want to authenticate a user with an authentication token (such as OAuth) and then send messages on behalf of that user with a script.
It is my understanding that the API exposed to an OAuth authenticated user is not the same as the ReST API and isn't capable of sending messages. We've been trying it with integrations and scripting an interface for sending messages via rocket cat, but it's not sufficient for communicating in direct messages.
Are there tokens other than OAuth that do allow this with Rocket Chat? We're not necessarily married to OAuth if that's the issue.
It's been something we've been looking forward to using for a while and it will really help with our cross-site communication efforts.
Thanks!
Ben
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.