지금 저에게 남은 유일한 문제는 @nodomain 님과 동일한 것입니다. 계정은 정상적으로 생성되지만 아바타가 포함되지 않습니다. 응답 예시:
Body: {
"access_token":"...",
"token_type":"bearer",
"expires_in":"3600",
"scope":"profile",
"profile" : {
"id":1234,
"email": "...",
"name": "...",
"picture": "https://somedomain.com/somevalidpicture.jpg"
}
}
그리고 이는 올바르게 파싱되고 있으며, 다음 로그에 나타납니다:
OAuth2 Debugging: after_authenticate response:
creds: {"token"=>"...", "expires_at"=>1702053692, "expires"=>true}
uid: 1234
info: {"email"=>"...", "name"=>"...", "avatar"=>"https://somedomain.com/somevalidpicture.jpg"}
extra: {}
이미지 주소가 올바른지 확인했으며, 크기는 300x300입니다.
이 문제에 대해 혹시 아이디어가 있으신가요?
수정: 누군가가 방금 계정을 생성했고, Gravatar에서 이미지를 가져왔습니다. 아마도 JSON의 유효한 이미지가 Gravatar의 빈 결과에 의해 덮어쓰이는 것일까요?