-
Notifications
You must be signed in to change notification settings - Fork 10
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(auth): remove integrated auth, delegate to proxy #209
Conversation
This PR/issue depends on: |
9937fce
to
730fd09
Compare
8044120
to
19b1d15
Compare
/build_test |
Workflow started at 12/14/2023, 10:42:07 AM. View Actions Run. |
CI build and push: All tests pass ✅ |
1 similar comment
CI build and push: All tests pass ✅ |
/build_test |
Workflow started at 12/14/2023, 11:47:41 AM. View Actions Run. |
CI build and push: All tests pass ✅ |
1 similar comment
CI build and push: All tests pass ✅ |
/build_test |
Workflow started at 12/15/2023, 4:42:45 PM. View Actions Run. |
CI build and push: All tests pass ✅ |
1 similar comment
CI build and push: All tests pass ✅ |
/build_test might not work due to #216 |
Workflow started at 12/19/2023, 4:07:00 PM. View Actions Run. |
CI build and push: At least one test failed ❌ |
CI build and push: All tests pass ✅ |
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.
Looks good. I noticed the integration tests failed, but it looked like something to do with the web-client. I'm assuming that needs to be fixed once both pieces are merged?
I think the tests should pass when both this PR and cryostatio/cryostat-web#1181 are merged - they are mutually dependent. |
Otherwise, there are currently unrelated CI test failures: #216 |
|
I noticed the lingering database containers before, but it seems to me these get left behind by test runs ( |
Ah yes I just checked and it's not because of the |
See #221 |
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.
looks good to me
Welcome to Cryostat3! 👋
Before contributing, make sure you have:
main
branch[chore, ci, docs, feat, fix, test]
To recreate commits with GPG signature
git fetch upstream && git rebase --force --gpg-sign upstream/main
Related to #208
Depends on cryostatio/cryostat-web#1181
How to manually test:
src/main/webui
to -web PR above, then build cryostat3 containersmoketest.bash -OXgtb
http://localhost:8080
(note8080
, not8181
) should open in your browser. Useuser:pass
to log in. This is the new authenticating reverse proxy setup which handles authentication/authorization before the user reaches the actual application. The Cryostat server is still listening on port 8181, but you should not be able to reach that anymore - it is bound tolocalhost
only and not exposed from the compose network to your host machine. You can also do ex.http --auth=user:pass :8080/api/v3/targets
the same way you would previously have donehttp --auth=user:pass :8181/api/v3/targets
. In any case, this change should be more or less transparent, other than the login screen looking different.