Glossary
Key terms and concepts in agricultural APIs and precision farming.
Key terms and concepts in agricultural APIs and precision farming.
OAuth 2.1 is an authorization framework that allows users to grant third-party applications access to their data without sharing passwords. It consolidates the best practices from OAuth 2.0 and its security extensions (PKCE, token binding, refresh token rotation) into a single, simplified specification. FieldMCP uses OAuth 2.1 as its sole authentication mechanism.
FieldMCP implements a two-hop PKCE authorization flow:
/authorize endpoint with a PKCE code challenge. FieldMCP validates the request and initiates the upstream authorization./oauth/callback, which exchanges the authorization code for tokens. FieldMCP then issues its own tokens to your application.Bearer tokens in the Authorization header.FieldMCP previously supported API keys but removed them entirely. OAuth 2.1 provides:
FieldMCP publishes its public signing key at /.well-known/jwks.json. If you need to verify access tokens independently, fetch the JWKS and validate the ES256 signature, expiry, and audience claims.