login
Connect Microsoft To Do by starting OAuth login to get an authorize URL, then complete the login by passing the callback URL from your address bar.
Instructions
Connect Microsoft To Do. Call WITHOUT arguments to start: it returns an authorize URL for the user to open and consent, plus a ready-to-relay message covering the paste-back fallback. When the user later sends you a localhost callback URL from their address bar, call login AGAIN passing it as callbackUrl to finish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| callbackUrl | No | 用户粘贴的授权后地址栏完整 URL(含 code 与 state)。传此参数=完成登录;不传=开始登录 |