RocketChat / RocketChat/Rocket.Chat
Rocketchat Jira oauth integration
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Hi,
I am playing around to reach my goal to identify all users and roles from the internal Jira-Directory as Hipchat did before. We do not want to use the Crowd from Atlassian (I know there is support on it in Rocketchat already).
I did the following:
-
in Jira, I Created a incoming-only application link:
-> url = base url of our rocketchat-instance
-> consumer_key = access_token
-> public_key as explained here: https://developer.atlassian.com/server/jira/platform/jira-rest-api-example-oauth-authentication-6291692/
-> consumer-callback-URL as provided in rocketchat oauth custom area -
in rocketchat, the following settings were done:
-> URL: base-URL of Jira
-> Token-Path base-URL of Jira/plugins/servlet/oauth/access-token
-> Token send over User-Data (also tried with Header)
-> Authorization-Path: base-URL of Jira/plugins/servlet/oauth/authorize
-> param name of token: access_token
-> private key: the private key of the public key which is provided at the Jira-instance
-> field for username: username
However, I get the following error:
WARN anonymous 743x1356589x1 191gj9b 1.2.3.4 /plugins/servlet/oauth/authorize [c.a.o.s.i.servlet.authorize.AuthorizeServlet] Problem encountered authenticating OAuth client for url "https:// base-URL of Jira /plugins/servlet/oauth/authorize", error was "parameter_absent", with parameters "{oauth_parameters_absent=oauth_token, oauth_problem=parameter_absent}"
Can anyone help me?
We can try all together and then, would have a new Oauth-Plugin maybe for Rocketchat which would help others, too
Thanks
Ronny
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.
Research direction
Start by reproducing the Jira OAuth flow using the listed application-link and Rocket.Chat custom OAuth settings, then compare the request with Jira’s OAuth authentication example. Investigate why Jira reports the missing oauth_token parameter; done means the integration authenticates successfully and can identify Jira-directory users and roles.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100