transifex/cli

Keep getting prompted for token

Closed this issue · 3 comments

Running 1.6.10 and have token configured in ~/.transifexrc

[https://app.transifex.com]
rest_hostname = https://rest.api.transifex.com
token         = <redacted>

Btu keep getting prompted to provide a whenever using the client.

May I ask how you solved it? I'm having the same issue, back then with 1.6.10 and now still the same with 1.6.13. My ~/.transifexrc has the same content as yours.

@inverse
Ah nice! Same for me, the .tx/config in the project repo and my .transifexrc had a mismatch in the host name.

Just for the record, I just tried it with a random string, looks like it doesn't even need to be a url. As long as the host = someString in .tx/config matches the identifier [someString] in the .transifexrc file it seems to work just fine.

Anyway, thank you! Now I can remove the TX_TOKEN var from my .zshrc again 😎