Skip to content
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

talos/omni authentication issue when running inside wsl #8384

Open
d3287t328 opened this issue Feb 29, 2024 · 1 comment
Open

talos/omni authentication issue when running inside wsl #8384

d3287t328 opened this issue Feb 29, 2024 · 1 comment

Comments

@d3287t328
Copy link

Bug Report

Description

During the authentication step with Omni, the cli attempts to run a web browser to the OIDC provider that will look something like https://snip.omni.siderolabs.io/omni/oidc-login/snip

Being a vm/container, the ubuntu image tries to launch w3m which does not display any clickable actions for the user, just a blank full screen in the terminal. The url for the auth can be found by pressing the equals key = and manually opened in another browser but this is by no means obvious and can cause installation delays. A more robust solution would seem to be to check if the request is coming from a container and use a method like curl or something else to complete the auth.

  • Platform: windows 11, wsl ubuntu, latest versions.
@smira
Copy link
Member

smira commented Mar 1, 2024

you can use BROWSER=echo to skip opening a browser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants