Sign in

Login by CWS token

documented

Auto-login to Mattermost via Customer Web Server (CWS) token.

POST /api/v4/users/login/cwsUsersno implementation yet0 runs
No 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://{{BASE_URL}}/api/v4/users/login/cws" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -H "Accept: application/json" \
  -d "login_id={{LOGIN_ID}}&cws_token={{CWS_TOKEN}}"