Summary
Per the PLEN-2215 audit (Pattern B "soft misuse"), anthology_student_oauth was declared mode: 'OAUTH2' but issued grant_type: 'client_credentials'. CampusLabs/Anthology Student API is institutional M2M; the redirect-based authorize step was never reached. This PR migrates to mode: 'S2S_OAUTH2' (anthology_student_s2s_oauth2):
client_id/client_secret as auth_config_field (admin-managed CampusLabs API keys).
auth_method: 'body' — https://authorization.campuslabs.com/token accepts form-encoded creds in the body.
- Preserves the per-institution
strictFields.baseUrl.full field (institution-specific CampusLabs subdomain).
- Drops unused
authorization_url, disable_pkce, token_request_auth_method.
The unrelated anthology_student_api_key scheme is untouched.
Backwards compatibility: existing connections (if any) under anthology_student_oauth will need to be re-created under anthology_student_s2s_oauth2. Per the audit, the prior scheme cannot produce a working token.
Pattern matches PayPal (ComposioHQ/mercury#21885) and Neo4j (ComposioHQ/mercury#23064).
Refs: PLEN-2215.
Test plan