0
Drupal 8.3.x과 simple_oauth 모듈을 사용하여 REST 인증 및 인증을하고 있습니다.Drupal 8 : REST 내보내기보기가 simple_oauth 모듈과 함께 작동하지 않습니다.
간단한 REST 내보내기보기를 만들고 "인증"을 "basic_auth, simple_oauth"로 설정했습니다.
하지만 URL을 시도 할 때 오류를 나에게 보여
{
"message": "The used authentication method is not allowed on this route."
}
상세 내용보기이다 :
UPDATE : 헤더 세부 사항 : I에 의해 내 문제를 해결
"url": "http://localhost/d8/api/stories?_format=hal_json",
"method": "GET",
"headers": {
"authorization": "Bearer <oauth token>"
}