-
Notifications
You must be signed in to change notification settings - Fork 481
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
feat: add basic auth to Zeebe deployments #4269
Conversation
Looks good. How did you E2E-test your solution? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The credentials should be redacted from the log:
ERROR app:zeebe-api connection check failed {
parameters: {
endpoint: {
type: 'selfHosted',
authType: 'basic',
url: 'http://localhost:8000',
basicAuthUsername: 'abc',
basicAuthPassword: 'def'
}
}
}
@nikku No success testing this end-to-end. I'm trying to get help from the Zeebe team. Otherwise I'd need your help. |
I was able to end-to-end test this using a standard reverse proxy setup, based off our zeebe-connection-test project, Topology (test setup)
Test it yourselfYou can use the following script to test it yourself ™️: # Clone repository
git clone git@github.com:camunda/zeebe-connection-test.git
cd zeebe-connection-test
git checkout -b basic-auth Proceed with the run instructions to spin up Zeebe. Then to test with the Camunda Modeler specify self-managed, Test results
Besides these two things it works; I can deploy successfully. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be followed-up, cf. #4269 (comment).
I'm not sure how to deal with the errors. After setting up a reverse proxy with basic auth the error I get when using the wrong credentials is
which is just a GRPC error but doesn't provide any hint that this might be related to wrong credentials. I could just map |
@nikku @barmac We could decide to fix the error handling as a follow-up. |
Agreed that it makes sense to maybe improve the error handling as a follow-up. |
Closes #4160