-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Allow to easily grab JWT token from UI (dashboard, theia, etc.) #13852
Comments
Instead of exposing token in UI, I think it would be better, if our cli tools could operate with user/pass authentication. |
@rhopp there are a lot of users with oAuth so you'll open a browser from the CLI ? |
That's something that came to my mind after pressing send on my comment. TBH I don't know what would be best... It just doesn't make much sense to me. Let's say I want to start workspace from devfile (I have the URL to the devfile for example). I need to open browser, go to che UI (dahboard), copy token and then go to terminal to use the token. To me it seems much better to create the workspace directly in the UI, while I'm already there. If we could make the cli work without any need to go to browser to obtain some info, that would be perfect. Otherwise I think if we force user to go to the UI, why should he go back to cli? |
Related Product Issue: https://issues.redhat.com/browse/CRW-591 |
Update: OpenShift Console backend is not able to access user's token anymore(HTTP only cookies). Instead, OpenShift console has Get Token button that opens a dedicated application that is hosted on a different host that only allows us to copy the token. Copy user token could appear in context menu of account (in the left-hand side of the footer) |
Is your enhancement related to a problem? Please describe.
Sometimes I need to get my user token / JWT token and I open developer mode console to get the token. But it should be another simple way to do that like clicking on a button from the dashboard or the IDE
Describe the solution you'd like
It could be like in openshift console (copy login button)
Describe alternatives you've considered
I would use any UI allowing me to do that !
Additional context
The text was updated successfully, but these errors were encountered: