-
Notifications
You must be signed in to change notification settings - Fork 10.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom OAuth config not created even if all env vars are set #10420
Comments
The documentation about Keycloak is going to be written. Please follow https://github.com/RocketChat/docs/issues/790 and fell free to help us :) |
@engelgabriel While that may work for Keycloak it doesn't solve the specific issue mentioned here. Any other 3rd party OAuth provider cannot be used unless added manually. |
+1 for this |
Please see next post - this post is invalid I assume that using environment variables will not work here. The default environment variables that are going to be set (like LDAP) are sent to the default settings (see API, but there exists a separate API point for oauth settings. I fetched my keycloak configuration from this settings.oauth and got
Does anybody know, how to adress these separate settings via the environment variables, and if this is currently supported at all? https://rocket.chat/docs/administrator-guides/settings-via-env-vars/ does not show any respective information. |
My post was not addressing the real problem here - which I could re-enact with 2.0.0 and also have to manually add a custom oauth method. |
@engelgabriel could you please have a look at this? |
How may I found out what API commands the web preference setting is sending? Can't I use some way by setting over API activating this oauth connection? Anybody? |
@MarcosSpessatto sorry to cold call you into this ticket, don't know where to ask this. Is there a way to finance a solution to this ticket for the next release? |
I know you are desperate but please don't keep adding people in as it gets annoying. Those who need to know already do. This is Open Source. It will get done when it is done. If you have a support contract you can contact Rocket directly. You can also look at a bounty here: |
@reetp No intention to do so. Thank you very much for the link/information - I opened a bounty on this ticket. I use and value open source very much, that is why I contribute - and yes also to rocketchat; see https://github.com/baloise/rocket-chat-rest-client |
I'd like to see if I can make a PR to fix this. It doesn't work in 2.4.9 yet either. Do you have any tips on where to start? What code should I look at to have an idea of
Anything would help, thanks! |
Is there an easy way to build the docker container for my changes? I need to test them in a docker context, because I need to connect to my SSO, etc. |
I've created a PR (#17377). It seems like the CI is failing for an unrelated reason, a lot of PRs seems to fail with the same problem (#17306) What is the next step to get this merged? My project is kinda reliant on this PR and I wouldn't like to have to maintain a forked version... I know you guys have your own planning, but if there's anything I can do to speed up the review process, please let me know! |
Dear devs, my fix has been waiting for 23 days without any response. There's even a bounty for it, so I'm not the only one waiting for this. I really really don't like to have to maintain a fork for this bugfix. Could you let me know when you can look at the PR (#17377)? Thanks, |
Hey guys, is there any chance to accelerate this? Would be really important for us, so if you need any help, feel free to ask, since...well, the pr actually doesn't look that complex :) M |
@reetp I see your above comment asking OP not to drag more people into this issue, but is there any way in which I can speed up the process of reviewing my PR (#17377) without tagging everyone that has been involved in this issue? I would really really really like it if you can spend some time reviewing my PR so I don't have to maintain my fork. If you don't have budget to spend on the review, please let me know if I can support your review hours from the budget I have for the open source project we need this for |
Was this ever fixed? I am having the same issue with 6.2 |
Description:
Installing Rocket Chat with a Helm chart, I'm specifying all the required variables to configure a custom OAuth provider as environment variables. E.g. I create env vars called:
When I log into the Rocket Chat, no custom OAuth provider called
Keycloak
has been created. But if I create one calledKeycloak
, it populates all the fields from the env vars I supplied. This is preventing me automating the deployment of Rocket Chat with Helm.Server Setup Information:
Steps to Reproduce:
Keycloak
will exist.Keycloak
. The values will be populated from the above config values.Expected behavior:
Rocket chat should notice that env vars for the custom provider exist and should create the custom provider automatically.
Actual behavior:
The custom provider needs to be created manually, but then it loads values supplied as env vars.
Relevant logs:
The text was updated successfully, but these errors were encountered: