Membrane Token Authentication
Membrane Token authentication uses Membrane’s built-in token system for authentication. This is typically used for internal connectors or services that are aware of Membrane. Membrane Token authentication is useful for:- Services that are specifically designed to work with Membrane
- Testing and development scenarios
Connector Definition
Example Membrane Token connector definition:iss- Issuer, will be the key of the workspace integration runs in.sub- Subject, will be the ID of the user who owns the integration being run.fields- Fields of the user who owns the integration being run.
Headers
When usingmembrane-token authentication, Membrane sends two headers for backward compatibility:
X-Membrane-Token- The new, correctly named header (recommended)X-Integration-App-Token- Legacy header (for backward compatibility)
Migration from Legacy Token
If you’re migrating fromintegration-app-token authentication:
- Update your connector definition to use
type: membrane-token - Optional: Update your code to read from the
X-Membrane-Tokenheader instead ofX-Integration-App-Token - The
X-Integration-App-Tokenheader will continue to be sent for backward compatibility
Legacy Support
For backward compatibility, connectors using the deprecatedintegration-app-token type will continue to work and will only receive the X-Integration-App-Token header.