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
Describe the bug
When only user_token is used getVersion fails onread after access token has expired, doesn't seem to use the refresh_token in this case
** Versions **
Plugin: 1.8.0
Vault: Enterprise 1.17.3
Artifactory 7.90.8 which requires user authentication on everything except ping
To Reproduce
Steps to reproduce the behavior:
Clean plugin install
vault write artifactory/config/admin only, no token, other settings might be ok
Wait longer than token expiry, but shorter than refresh token expiry
`vault read now fails and logs shows only when debug logs are activated
[ERROR] secrets.artifactory.artifactory_fd15a342.artifactory.artifactory-secrets-plugin_1.8.0: Unable to get Artifactory Version. Check url and access_token fields. TLS connection verification with Artifactory can be skipped by setting bypass_artifactory_tls_verification field to ‘true’: err=\“could not get the system version: HTTP response 401\” func=checkVersion ver=\“\"
Expected behavior
Token refreshed and a new token issued
The text was updated successfully, but these errors were encountered:
Describe the bug
When only
user_token
is usedgetVersion
fails onread after access token has expired, doesn't seem to use therefresh_token
in this case** Versions **
To Reproduce
Steps to reproduce the behavior:
vault write artifactory/config/admin
only, no token, other settings might be okExpected behavior
Token refreshed and a new token issued
The text was updated successfully, but these errors were encountered: