Add Custom OAuth
documentedAdd a custom OAuth integration.
POST /api/v1/settings.addCustomOAuthSettingsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$rocket_host}}/api/v1/settings.addCustomOAuth" \
-X POST \\
-H "X-User-Id: {{$user_id}}" \\
-H "X-Auth-Token: {{ROCKET_SECRET}}" \\
-H "X-2fa-Code: {{$two_fa_code}}" \\
-H "X-2fa-Method: {{$two_fa_method}}" \\
-H "Content-Type: application/json" \\
-H "Accept: application/json" \\
-d '{"name": "{{$name}}"}'