@superglue/cli 1.1.19 → 1.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/dist/cli.js +34 -28
- package/dist/skills/superglue/SKILL.md +11 -0
- package/package.json +1 -1
- package/skills/superglue/SKILL.md +11 -0
|
@@ -628,6 +628,17 @@ sg system create --name "Gmail" --url https://gmail.googleapis.com \
|
|
|
628
628
|
--credentials '{"client_id":"...","client_secret":"..."}'
|
|
629
629
|
```
|
|
630
630
|
|
|
631
|
+
**For custom OAuth systems without a template**, you must include `client_id`, `client_secret`, `auth_url`, and `token_url` in the credentials at create time — or add them later with `sg system edit` before running `sg system oauth`:
|
|
632
|
+
|
|
633
|
+
```bash
|
|
634
|
+
sg system create --name "My API" --url https://api.example.com \
|
|
635
|
+
--credentials '{"client_id":"...","client_secret":"...","auth_url":"https://example.com/oauth/authorize","token_url":"https://example.com/oauth/token"}'
|
|
636
|
+
|
|
637
|
+
# Or add credentials to an existing system:
|
|
638
|
+
sg system edit --id my_api \
|
|
639
|
+
--credentials '{"client_id":"...","client_secret":"...","auth_url":"https://...","token_url":"https://..."}'
|
|
640
|
+
```
|
|
641
|
+
|
|
631
642
|
**Step 2: Authenticate via OAuth**
|
|
632
643
|
|
|
633
644
|
```bash
|
package/package.json
CHANGED
|
@@ -628,6 +628,17 @@ sg system create --name "Gmail" --url https://gmail.googleapis.com \
|
|
|
628
628
|
--credentials '{"client_id":"...","client_secret":"..."}'
|
|
629
629
|
```
|
|
630
630
|
|
|
631
|
+
**For custom OAuth systems without a template**, you must include `client_id`, `client_secret`, `auth_url`, and `token_url` in the credentials at create time — or add them later with `sg system edit` before running `sg system oauth`:
|
|
632
|
+
|
|
633
|
+
```bash
|
|
634
|
+
sg system create --name "My API" --url https://api.example.com \
|
|
635
|
+
--credentials '{"client_id":"...","client_secret":"...","auth_url":"https://example.com/oauth/authorize","token_url":"https://example.com/oauth/token"}'
|
|
636
|
+
|
|
637
|
+
# Or add credentials to an existing system:
|
|
638
|
+
sg system edit --id my_api \
|
|
639
|
+
--credentials '{"client_id":"...","client_secret":"...","auth_url":"https://...","token_url":"https://..."}'
|
|
640
|
+
```
|
|
641
|
+
|
|
631
642
|
**Step 2: Authenticate via OAuth**
|
|
632
643
|
|
|
633
644
|
```bash
|