You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refresh token support was recently added to oic-auth-plugin and it works as expected for calls with API tokens.
However, even when offline token is available, client will get redirected to OIDC login page when Jenkins session expires, ending up in several offline tokens for a single user in the SSO, wasting storage and generating warnings from IT departments.
doCommenceLogin should be improved to check for an existing token, possibly in collaboration with RememberMeServices to securely identify the user and re-use the offline token, before redirecting to sign in page.
Upstream changes
No response
Are you interested in contributing this feature?
No response
The text was updated successfully, but these errors were encountered:
doCommenceLogin should be improved to check for an existing token
when doCommenceLogin is called there is no session (its expired), so there is no authentication context to obtain a user, to obtain the refresh token for them.
What feature do you want to see added?
Refresh token support was recently added to oic-auth-plugin and it works as expected for calls with API tokens.
However, even when offline token is available, client will get redirected to OIDC login page when Jenkins session expires, ending up in several offline tokens for a single user in the SSO, wasting storage and generating warnings from IT departments.
doCommenceLogin should be improved to check for an existing token, possibly in collaboration with RememberMeServices to securely identify the user and re-use the offline token, before redirecting to sign in page.
Upstream changes
No response
Are you interested in contributing this feature?
No response
The text was updated successfully, but these errors were encountered: