mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
2.5 KiB
2.5 KiB
HTTP Request
You can use these credentials to authenticate the following nodes:
Prerequisites
You must use the authentication method required by the app or service you want to query.
The following generic authentication methods are available:
- Basic Auth
- Digest Auth
- Header Auth
- OAuth1
- OAuth2
- None
You can learn more about HTTP authentication here.
You can use App-specific HTTP credentials to perform custom operations with some APIs where n8n has a node for the platform. For example, n8n has an Asana node, and supports using your Asana credentials in the HTTP Request node. Refer to App-specific HTTP credentials for more information.
Using Basic Auth / Digest Auth
- Enter a descriptive Credentials Name.
- In the Credential Data section, enter the Username and Password for the app or service your HTTP Request is targeting.
- Click Create to save your credentials.
Using Header Auth
- Enter a descriptive Credentials Name.
- In the Credential Data section, enter the header Name and Value required for the app or service your HTTP Request is targeting. Read more about HTTP headers.
- Click Create to save your credentials.
Using OAuth1
- Enter a descriptive Credentials Name.
- In the Credential Data section, enter the following authentication details:
- Authorization URL
- Access Token URL
- Consumer Key
- Consumer Secret
- Request Token URL
- Signature Method
- Click Create to save your credentials.
Read more about OAuth1.
Using OAuth2
- Enter a descriptive Credentials Name.
- In the Credential Data section, enter the following authentication details:
- Authorization URL
- Access Token URL
- Client ID
- Client Secret
- Scope
- Auth URI Query Parameters
- Authentication
- Click Create to save your credentials.
Read more about OAuth2.
Using an existing credential type
--8<-- "_snippets/integrations/app-specific-http-how-to.md"
Refer to App-specific HTTP credentials for more information.