Closed almereyda closed 6 years ago
I guess https://github.com/maxlath/wikidata-cli/blob/master/lib/edit/init_credentials.js#L28 does not pass the instance
variable set in the config to wikibaseInstance
of wikidata-token
.
This will be useful for https://hack.allmende.io/s/transformaps-20171205-sustainable-development-goals#automatisierung
do you see anything detail in your wikibase instance logs that could help identify what's wrong?
No, our instance is not called at all, as it is not passed to the function which generates the access token.
Indeed the problem was that both init_credentials
and edit_command
were ignoring custom instances: 6a22692 (published in v6.0.2
) should fix that, can you confirm?
I can currently not verify this due to https://github.com/maxlath/wikidata-cli/issues/49#issuecomment-358125745
Confirmed working as of https://github.com/maxlath/wikidata-cli/issues/49#issuecomment-358674372
When using our custom instance, a working combination of username and password cannot login: