Sites

Menu
These are the docs for 13.5, an old version of SpatialOS. The docs for this version are frozen: we do not correct, update or republish them. 14.2 is the newest →

spatial auth login

Initialize your local credentials.

Description

This stores a local copy of your refresh token in the following location:

C:\Users<username>\AppData\Local.improbable\oauth2\oauth2_refresh_token\ (Windows)

~/.improbable/oauth2/oauth2_refresh_token (Mac/Linux)

spatial auth login [flags]

Options

      --force                             Force new credentials to be obtained
      --ivy_credential_directory string   The directory to store Ivy credentials (default "${HOME}.ivy2")
      --m2_credential_directory string    The directory to store Maven credentials (default "${HOME}.m2")

Options inherited from parent commands

      --json_output            Print output in JSON format. Useful when you need to parse the Spatial CLI output.
      --log_directory string   Sets the directory log files will be created in. If not specified, this is set to <project_root>/logs when inside a project directory and logging is disabled when outside a project directory.
      --no_animation           Disable dynamic output elements such as the spinner, progress bars, etc.

See also

  • spatial auth - Commands for authenticating for SpatialOS development.

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums