Repository navigation
Fix path in in generating extension callback URL - #532
Conversation
Signed-off-by: Valeriy Svydenko <[email protected]>
Signed-off-by: Valeriy Svydenko <[email protected]>
|
Pull Request images published ✨ Editor amd64: quay.io/che-incubator-pull-requests/che-code:pr-532-amd64 |
Signed-off-by: Valeriy Svydenko <[email protected]>
|
Pull Request images published ✨ Editor amd64: quay.io/che-incubator-pull-requests/che-code:pr-532-amd64 |
Signed-off-by: Valeriy Svydenko <[email protected]>
|
Pull Request images published ✨ Editor amd64: quay.io/che-incubator-pull-requests/che-code:pr-532-amd64 |
|
@dmytro-ndp It would be nice if you verify it as well |
There was a problem hiding this comment.
@svor : thank you for the detailed test scenario in the PR description.
I have successfully logged into the Ansible Lightspeed from Ansible sample in DevSandbox staging with Dev Spaces 3.20.0.RC.
- VS Code Editor: quay.io/che-incubator-pull-requests/che-code:pr-532-amd64
CheCode
Version: 1.98.0
Commit: Unknown
Date: 2025-03-28T09:23:57.920Z (9 hrs ago)
Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Also, I have successfully logged into Ansible Lightspeed from in Dev Spaces 3.20.0.RC deployed to test OCP 4.18 cluster, with slightly different connection URL leading to Red Hat SSO:

Well done!
vitaliy-guliy
left a comment
There was a problem hiding this comment.
Works as described, thanks!
|
Build 3.21 :: code_3.x/1574: Console, Changes, Git Data |
* fix extension callback path Signed-off-by: Valeriy Svydenko <[email protected]>
|
Build 3.21 :: sync-to-downstream_3.x/9053: Console, Changes, Git Data |
* fix extension callback path Signed-off-by: Valeriy Svydenko <[email protected]>

What does this PR do?
Extension callback rout contains a few parts that should be merged into one path before adding it into the extension redirect URL:
callbackRoute = '/namespace-name/workspace-name, /3100/oss-dev/callback';-->callbackRoute = '/namespace-name/workspace-name/3100/oss-dev/callback';To have
Instead of
What issues does this PR fix?
https://issues.redhat.com/browse/CRW-8312
How to test this PR?
You can use Dev Spaces stage for testing


Start Ansible sample with the editor image built in this PR:
Try to Connect to Ansible lightspeed server form Ansible extension view:
You should login to the server without errors
Does this PR contain changes that override default upstream Code-OSS behavior?
git rebasewere added to the .rebase folder