Not if as part of sign in the app asks permission to get that information. That is how all oAuth logins from FB to Google to LinkedIn to Github work. You ask for permission to get exactly what you want and once granted the app can get that information without violating any TOS or getting banned