RocketChat / RocketChat/Rocket.Chat
Update Custom OAuth services settings from environment variables
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
customOAuthServicesInit() function needs to be amended so that it updates custom OAuth services settings if the env variable changed.
We are packaging a RocketChat app for Cloudron.io with OIDC auth support and we aren't able to update ClientId and Client Secret using env variables if they were changed for example when a backup restored as a new RocketChat instance.
RocketChat v6.2.2
Related issue:
https://github.com/RocketChat/Rocket.Chat/issues/25157
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 locating the customOAuthServicesInit() entry point and read how custom OAuth service settings are initialized from environment variables. Verify the behavior when ClientId or Client Secret changes after a backup restore; done means the stored settings reflect the current environment values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100