Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Although user is logged in, why does Artifactory ask for a credential again after clicking on "url to file" of the artifact?

When a user clicks on "URL to file" on Artifactory, although he is logged in, Artifactory again asks for the credential and user must provide that. Is there any solution to skip this when user already logged in? In our case we are using SSO and user does not have specific credential for Artifactory. Due to the security concerns we cannot allow anonymous access so this is not the desired solution for this problem.

I read the Artifactory documentation but I could not find a proper solution for this issue.

like image 974
Goli Avatar asked Nov 03 '25 07:11

Goli


1 Answers

Assuming the Artifactory version is 7.x, it is expected behaviour. The reason is that the Artifactory UI is accessed as "https://myartifactory.com/ui" here the "/ui" context holds the user credential cookie and the context changes from "/ui" to "/artifactory" when the user clicks on "URL to file" therefore the credential cookie is not shared from "/ui" to "/artifactory".

This Native UI is included in version 7.21.3, if the Artifactory version is lower than 7.21.3, an upgrade would help.

like image 170
Muhammed Kashif Avatar answered Nov 04 '25 19:11

Muhammed Kashif