Authorization code
The user approves the application on an Infisical consent screen in their browser. Best for a platform integrating with Infisical as an external auth provider, such as one where
infisical run fetches secrets with the developer’s own permissions.Token exchange
Trusted middleware you run presents a user’s token from your identity provider and receives an Infisical token for that same user. Best for MCP servers, internal developer portals, and API gateways that have no browser to redirect through.