[Django] Allauth apple login "invalid_client"

Jang Seok Woo·2023년 6월 26일
0

실무

목록 보기
136/136

Error retrieving access token: b'{"error":"invalid_client"}'

in get_access_token
    raise OAuth2Error("Error retrieving access token: %s" % resp.content)
allauth.socialaccount.providers.oauth2.client.OAuth2Error: Error retrieving access token: b'{"error":"invalid_client"}'

위 에러가 발생할 경우,

제 경우엔 allauth의 Docs를 보면,

# Your service identifier.
"client_id": "your.service.id",

위와 같이 나와있으나, serviceID를 넣으면 안되고 APPID를 넣어줘야 한다.

APP ID를 넣으니 성공

profile
https://github.com/jsw4215

0개의 댓글