Login
- Your credentials are saved to
~/.moru/config.json - Your default team is selected
- You’re ready to use Moru commands
Check Current User
Logout
Switch Teams
If you belong to multiple teams:API Key Authentication
For automation and scripts, use an API key instead of interactive login:Token-Based Authentication
For advanced use cases, you can also use access tokens:Configuration File
The CLI stores configuration in~/.moru/config.json:
Multiple Profiles
To work with multiple accounts, use environment variables:CI/CD Authentication
For CI/CD pipelines, use environment variables:Troubleshooting
”Not logged in” Error
”Invalid API key” Error
- Verify your API key is correct
- Check if the key has the required permissions
- Ensure you’re using the right team
Browser Doesn’t Open
Ifmoru auth login doesn’t open a browser:
- Copy the URL from the terminal
- Paste it in your browser manually
- Complete authentication