OAuth Management
The MachineMetrics CLI provides commands to manage OAuth clients for your applications.
OAuth Command
mmdev oauth [subcommand]
Manages OAuth clients for your MachineMetrics applications.
Available Subcommands
| Command | Description |
|---|---|
dev-init | Create a new OAuth client for local development |
dev-reset | Clear local development OAuth client information |
add [options] | Create a new OAuth client |
Options for add Command
| Option | Description |
|---|---|
-n, --name <name> | Name of the client |
-r, --redirect <redirect> | Comma-separated redirect URIs |
-h, --help | Display help for command |
Usage Examples
-
Initialize local development OAuth client:
mmdev oauth dev-init -
Reset local development OAuth client:
mmdev oauth dev-reset -
Add a new OAuth client:
mmdev oauth add --name "My App" --redirect "http://localhost:3000/callback,https://myapp.com/callback"