[jbosstools-issues] [JBoss JIRA] (JBIDE-20513) tricky to login to openshift when token expires

Andre Dietisheim (JIRA) issues at jboss.org
Tue Feb 23 05:17:00 EST 2016


    [ https://issues.jboss.org/browse/JBIDE-20513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13166217#comment-13166217 ] 

Andre Dietisheim edited comment on JBIDE-20513 at 2/23/16 5:16 AM:
-------------------------------------------------------------------

a) I have to renew my token in oc every 24h as I have to in Eclipse. [~jcantrill] can you confirm?
b) I agree, the dialog should tell the user that the token expired and he has to get a new one

Refreshing pops up the login dialog for me. But yes, I agree, the user should be able to get the auth dialog in a more obvious way than with a refresh: context-menu Reconnect, Reauthenticate? [~fbricon]?


was (Author: adietish):
a) I have to renew my token in oc every 24h as I have to in Eclipse. [~jcantrill] can you confirm?
b) I agree, the dialog should tell the user that the token expired and he has to get a new one

Refreshing pops up the login dialog for me. But yes, I agree, the user should be able to get the auth dialog in a more obvious way than with a refresh: context-menu? [~fbricon]?

> tricky to login to openshift when token expires
> -----------------------------------------------
>
>                 Key: JBIDE-20513
>                 URL: https://issues.jboss.org/browse/JBIDE-20513
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>            Reporter: Max Rydahl Andersen
>            Assignee: Andre Dietisheim
>            Priority: Critical
>             Fix For: 4.3.1.CR1
>
>
> I logged in with token.
> 24hrs later I start eclipse and expand the connection in explorer
> expecting to just login.
> Here is what happens instead:
> a) info message (not error) is logged to error log hiding the explorer view
> b) after some seconds (seems there is a timeout) a login dialog comes up saying I need to sign in (no clear info that auth failed or token missing etc.).
> cancel the dialog since I'm trying to figure out what happened.
> c)  Now the explorer just shows "You must obtain API token by visiting ..." as child and I cannot see straightforward way to log in again.
> Turns out Refresh does trigger login again.
> meanwhile command line 'oc' seem to be fine at logging in with token older than 24 hrs...can't verify that though, but in any case:
> a) do a user really need to re-login every 24 hours ?
> b) the error handling/dialogs shown are not very informative



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list