Repository navigation
Conversation
Saved organization names could be listed and deleted with authenticate, but
only saved by upload. authenticate now saves them too:
mapillary_tools authenticate --user_name PROFILE \
--organization_key ID --organization_name NAME
An existing profile is not logged in again: its token is checked and the
organization is looked up, as upload does, and the ID is saved as the server
returns it. If the token is rejected, the error says how to log in again.
With --jwt, --user_email or --user_password, or for a new profile,
authenticate logs in first and then saves the name. If the organization
lookup fails after the login, the login is kept, so that a mistyped ID
needs no new login.
upload --organization_key ID --organization_name NAME still saves the name.
caglarpir
force-pushed
the
authenticate-save-organization
branch
from
November 16, 2026 15:08
bd4fd3c to
862e504
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Saved organization names could be listed and deleted with
authenticate, but only saved byupload.authenticatenow saves them too:uploaddoes, and the ID is saved as the server returns it. If the token is rejected, the error says to add--jwt TOKENor--user_email EMAILto log in again.--jwt,--user_emailor--user_password, or for a new profile,authenticatelogs in first, then saves the name. If the organization lookup then fails, the login is kept, so a mistyped ID needs no new login: the rerun saves the name without logging in.--organization_keywithout--organization_name,--organization_namewithout--organization_keyor--delete,--deletewith--organization_key, an ID that is not a number, an invalid name.upload --organization_key ID --organization_name NAMEstill saves the name. README and the command reference now showauthenticateas the way to save one.--organizationas a short form of--organization_nameno longer works withauthenticate: it is ambiguous now, as it already is foruploadsince Add --organization_name to upload to an organization by a saved name #932.