{
"message": "User does not exist or is not a public member of the organization",
"documentation_url": "https://docs.github.com/rest/reference/orgs#check-public-organization-membership-for-a-user"
}
Get organization membership for a user
에러
{
"message": "Although you appear to have the correct authorization credentials, the `boostcampwm-2022` organization has enabled OAuth App access restrictions, meaning that data access to third-parties is limited. For more information on these restrictions, including how to enable this app, visit https://docs.github.com/articles/restricting-access-to-your-organization-s-data/",
"documentation_url": "https://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user"
}
List public organization members
public으로 설정한 멤버만 보임
Check public organization membership for a user
public이 아니라면 아래 에러가 뜸
{
"message": "User does not exist or is not a public member of the organization",
"documentation_url": "https://docs.github.com/rest/reference/orgs#check-public-organization-membership-for-a-user"
}
List organization memberships for the authenticated user
github developer settings에서 Token을 발급받는 작업이 필요함
Get an organization membership for the authenticated user
할일
Check organization membership for a user
Get organization membership for a user
List public organization members
Check public organization membership for a user
List organization memberships for the authenticated user
Get an organization membership for the authenticated user
모든 member의 닉네임을 DB에 저장해놓고 인증하는 방법도 고려했으나 닉네임을 변경하면 인증불가