Is anyone able to do SPM auth with an internally hosted artifactory?
I have tried below config, and adding this keychain - is there anything I am missing?
my
.netrc
file
machine artifactory.myCompany.global.corp:223
login xxx
password xxxxx
also tried with
machine <https://artifactory.myCompany.global.corp:223/artifactory/nst-app-maven-local>
I can download the artifact from the Android app and my local machine has access to the artifactory
I can get zip locally just fine.
curl -o myfile.zip <https://artifactory.myCompany.global.corp:223/artifactory/my-app-maven-local/com/napmultiplatform/utils/utils-kmmbridge/0.0.1/utils-kmmbridge-0.0.1.zip>
When testing netrc with curl, I get auth required, but not sure if this right way to test the auth via netrc
curl -n -v <https://artifactory.myCompany.global.corp:223/artifactory/my-app-maven-local/>
"errors" : [ {
"status" : 401,
"message" : "Authentication is required"
} ]