user group handles authentication. Tokens are stored securely in your OS keychain.
major user login
- Opens the login page in your browser.
- Authenticate with email/password or SSO (if configured for your organization).
- Securely stores your session token.
- Prompts you to select your default organization.
You can re-run
login anytime to refresh your token or switch organizations.major user logout
- Revokes your session.
- Removes your stored credentials.
major user whoami
major user gitconfig
- Shows your currently stored username (if any).
- Prompts you to enter or update your GitHub username.
- Saves the username so Major can automatically invite you to new repositories.