Outbound Auth - Transport
When the native API is protected and expects the authentication credentials to be passed through transport headers, you can use this policy to provide the credentials that will be added to the request and sent to the native API. API Gateway supports a wide range of authentication schemes, such as Basic Authentication, Kerberos, NTLM, and OAuth, at the transport-level.
Property | Description |
---|---|
Authentication scheme | Select one of the following schemes for
outbound authentication at the transport level:
|
Authenticate using | Select one of the following modes to
authenticate the client:
|
Basic | Uses the HTTP authentication details to
authenticate the client.
API Gateway
supports the following modes of HTTP authentication:
Provide the following credentials:
|
Kerberos | Uses the Kerberos credentials to
authenticate the client.
API Gateway
supports the following modes of Kerberos authentication:
Provide the following credentials:
|
NTLM | Uses the NTLM credentials to authenticate
the client.
API Gateway
supports the following modes of NTLM authentication:
Provide the following credentials:
|
OAuth2 | Uses the OAuth2 token to authenticate the
client.
API Gateway
supports the following modes of NTLM authentication:
OAuth2 token. Specifies the client's OAuth2 token. |
JWT | Uses the JSON Web Token (JWT) to
authenticate the client.
If the native API is enforced to use JWT for authenticating the client, then API Gateway enforces the need for a valid JWT in the outbound request while accessing the native API. API Gateway supports the Incoming JWT mode of JWT authentication. |
Alias | Uses the configured alias to authenticate the client. Provide the name of the configured alias. |
When you configure an API with an inbound authentication policy, and a client sends a request with credentials, API Gateway uses the credentials for the inbound authentication. When sending the request to native server, API Gateway removes the already authenticated credentials when no outbound authentication policy is configured.
If as an API provider you want to use the same credentials for authentication at both API Gateway and native server, you should configure the outbound authentication policy to pass the incoming credentials to the native service. If you do not configure an outbound authentication policy, API Gateway removes the incoming credentials, as it is meant for API Gateway authentication only.
However, when both the inbound authentication policy and outbound authentication policy are not configured, API Gateway just acts as a proxy and forwards the credentials to the native service. Since the credentials are not meant for API Gateway (as no inbound auth policy is configured), API Gateway forwards the credentials to native service (unless there are different settings configured in outbound authentication policy, for example, custom credentials or Anonymous).