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

Enhancement Request: Authentication on headless machines #50

Closed
achuchev opened this issue Oct 24, 2022 · 4 comments · Fixed by #55
Closed

Enhancement Request: Authentication on headless machines #50

achuchev opened this issue Oct 24, 2022 · 4 comments · Fixed by #55

Comments

@achuchev
Copy link
Contributor

Authentication jsctl works well when it is installed on a machine with browser. In many cases, users are not having direct access from their workstations to the K8s clusters. Instead, they need to use bastion/jump hosts. Such hosts are usually headless (no browser), so the current authentication flow will not work. OAuth 2.0 Device Authorization Grant is a flow which can help.

PS: https://github.com/cli/oauth is a nice Go library from the Github.com developers.

@charlieegan3
Copy link
Contributor

Hey, what do you think about #55 as something quick for the time being?

@charlieegan3
Copy link
Contributor

@achuchev what do you think about this approach. Will it suffice to get you up and running?

@achuchev
Copy link
Contributor Author

@charlieegan3 Hey. Apologies for not being responsive. I don't have time to check it out, but I think it's going to work for me.
Don't hesitate to merge it.

@charlieegan3
Copy link
Contributor

Hey, no problem. Thanks, I know it's not the ideal solution but it's something that I think would unblock you.

I'll get this merged.

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

Successfully merging a pull request may close this issue.

2 participants