You can make a GitHub app and access a user's stars with their permission. It's not gatekeeping, you have to do more to be secure about it though.