Magento 2 자격 증명
n8n v2.29이 자격 증명을 사용하여 다음 노드를 인증할 수 있습니다. Admin > Stores > Configuration > Services > OAuth > Consumer Settings로 이동합니다. Allow OAuth Access Tokens to be used as standalone Bearer tokens 옵션을 Yes로 설정합니다.
이 자격 증명을 사용하여 다음 노드를 인증할 수 있습니다.
사전 요구사항#
- Magento(Adobe Commerce) 계정을 생성합니다.
- 스토어에서 Allow OAuth Access Tokens to be used as standalone Bearer tokens 옵션을 설정합니다.
-
Admin > Stores > Configuration > Services > OAuth > Consumer Settings로 이동합니다.
-
Allow OAuth Access Tokens to be used as standalone Bearer tokens 옵션을 Yes로 설정합니다.
-
다음 명령어를 실행하여 CLI에서도 이 설정을 활성화할 수 있습니다.
bin/magento config:set oauth/consumer/enable_integration_as_bearer 1
-
이 단계는 n8n이 Magento 2 자격 증명을 OAuth를 사용하도록 업데이트할 때까지 필요합니다. 자세한 내용은 Integration Tokens를 참고하세요.
지원되는 인증 방법#
- API 액세스 토큰
관련 자료#
서비스에 대한 자세한 내용은 Magento's API documentation를 참고하세요.
API 액세스 토큰 사용#
이 자격 증명을 구성하려면 다음이 필요합니다.
- Host: Magento 스토어의 주소를 입력합니다.
- Access Token: Admin Panel에서 액세스 토큰을 가져옵니다.
- System > Extensions > Integrations로 이동합니다.
- 새 Integration을 추가합니다.
- API 탭으로 이동하여 n8n 통합이 접근할 수 있도록 허용할 Magento 리소스를 선택합니다.
- Integrations 페이지에서 새 통합을 Activate합니다.
- Allow를 선택하여 액세스 토큰을 표시하면, 이를 복사하여 n8n에 입력할 수 있습니다.