-
Feature Request
-
Resolution: Done
-
Critical
-
3.9.1.GA, 3.10.0.GA
-
False
-
None
-
False
-
Release Notes
-
-
Enhancement
-
Done
-
-
We (Ansible Lightspeed development) want to run OAuth2 authorization code flow with our Ansible VSCode extension in Dev Spaces using the technique described for GitHub Codespaces. The code worked on GitHub Codespaces as expected, but it did not work on Dev Spaces. Web browser tried to open a redirect URI like
https://devspaces.apps.sandbox-m2.ll9k.p1.openshiftapps.com/oss-dev/callback?vscode-reqid=3&code=xxxxxxxxxxxxxxxxxxxxxxxxxxxx
and failed with a 404 page not found error. The redirect URI was obtained through VSCode API vscode.env.asExternalUri().