Log in to Scratch
scratch_loginAuthenticate with a Scratch account to let the server open, edit, and publish your projects. Credentials default to environment variables if not provided.
Instructions
Authenticate with a scratch.mit.edu account so the server can open your projects from the website and (with your confirmation) save edits back and publish them. Credentials default to the SCRATCH_USER / SCRATCH_PASS environment variables if omitted. The session is kept in memory for this server process only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | No | Scratch password. Defaults to $SCRATCH_PASS. | |
| username | No | Scratch username. Defaults to $SCRATCH_USER. |