i_login
Starts a local reverse-proxy login server for iconfont.cn and returns a browser URL; log in through any supported method, and cookies are captured automatically for authentication confirmation.
Instructions
Start a local reverse-proxy login server for iconfont.cn and return its URL. Open the URL in your normal browser and log in (any method: phone+password, WeChat scan, GitHub, Weibo, SMS, etc.). After success the page shows a "登录成功" notice and the user can close the tab (the proxy serves it for a few seconds, then shuts itself down; a later "connection refused" on that tab is normal). Cookies are captured automatically. Then call i_login_wait (or i_check_auth) to confirm. This is the recommended login method.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Port for the local login server (default 7788) |