Create OAuth app
documentedRegister a new OAuth 2.0 client application.
POST /api/v4/oauth/appsOAuthno 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://about.mattermost.com/api/v4/oauth/apps" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$title}}", "description": "{{$description}}", "homepage_url": "{{$homepage}}", "redirect_uris": ["{{$redirect_uri}}"], "icon_url": "{{$icon_url}}", "is_public": {{$is_public}}, "is_trusted": {{$is_trusted}}}'