Skip to content
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

Evidence CLI - evidence does not support basic auth #26

Merged
merged 3 commits into from
Nov 6, 2024

Conversation

osaidwtd
Copy link
Contributor

@osaidwtd osaidwtd commented Nov 5, 2024

No description provided.

@@ -105,6 +105,11 @@ func evidenceDetailsByFlags(ctx *components.Context) (*coreConfig.ServerDetails,
return nil, errors.New("platform URL is mandatory for evidence commands")
}
platformToEvidenceUrls(serverDetails)

if serverDetails.GetUser() != "" && serverDetails.GetPassword() != "" {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be even just serverDetails.GetUser() != "", without a check for a password?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@denys-jfrog if you try with web-login you get user with token not password.
we still need both validation.

@osaidwtd osaidwtd merged commit 3f907f0 into jfrog:main Nov 6, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants