{
  "_note": "RivalSweeper uses a custom JSON auth flow against stg-api.trendos.io rather than standard OAuth 2.0 / OIDC. The fields below map to the RivalSweeper Scheduler API endpoints. Agents should authenticate via POST /api/v1/Profile/Login (email+password JSON body) and refresh via POST /api/v1/Profile/RefreshToken.",
  "issuer": "https://stg-api.trendos.io",
  "auth_flow": "trendos-custom",
  "service_documentation": "https://www.rivalsweeper.com/features/rivalsweeper-mcp",
  "authorization_endpoint": "https://stg-api.trendos.io/api/v1/Profile/Login",
  "token_endpoint": "https://stg-api.trendos.io/api/v1/Profile/Login",
  "refresh_endpoint": "https://stg-api.trendos.io/api/v1/Profile/RefreshToken",
  "registration_endpoint": "https://stg-api.trendos.io/api/v1/Profile/Register",
  "password_reset_request_endpoint": "https://stg-api.trendos.io/api/v1/Profile/ForgotPassword",
  "password_reset_confirm_endpoint": "https://stg-api.trendos.io/api/v1/Profile/ResetPassword",
  "email_verification_endpoint": "https://stg-api.trendos.io/api/v1/Profile/ResendVerificationEmail",
  "user_info_endpoint": "https://stg-api.trendos.io/api/v1/Profile/GetInfo",
  "grant_types_supported": ["password", "refresh_token"],
  "response_types_supported": ["token"],
  "token_endpoint_auth_methods_supported": ["client_secret_post"],
  "scopes_supported": [
    "trendos.api.read",
    "trendos.api.write",
    "trendos.mcp"
  ],
  "claims_supported": ["sub", "email", "name", "subscription_tier"],
  "subject_types_supported": ["public"],
  "id_token_signing_alg_values_supported": ["RS256"],
  "rivalsweeper_auth_endpoints": {
    "login": {
      "method": "POST",
      "url": "https://stg-api.trendos.io/api/v1/Profile/Login",
      "body": "{ \"email\": \"...\", \"password\": \"...\" }",
      "response": "{ \"accessToken\": \"...\", \"refreshToken\": \"...\" }"
    },
    "register": {
      "method": "POST",
      "url": "https://stg-api.trendos.io/api/v1/Profile/Register"
    },
    "forgot_password": {
      "method": "POST",
      "url": "https://stg-api.trendos.io/api/v1/Profile/ForgotPassword"
    },
    "reset_password": {
      "method": "POST",
      "url": "https://stg-api.trendos.io/api/v1/Profile/ResetPassword"
    },
    "refresh_token": {
      "method": "POST",
      "url": "https://stg-api.trendos.io/api/v1/Profile/RefreshToken"
    }
  }
}
