I want to create a GitHub App but the app requires a user on my own server. When the App is public, everyone can install it, also people which don’t have an account on my server yet.
What is the proper way of solving this?
The best solution I can come up with is:
The user installs the app on GitHub.
The installation redirects to the “Setup URL” on my server.
I can store the installationID and userID/email on my server and request the user to create an account with the same email address on my server.
The user creates an account on my server with the same email as her GitHub email.
This feels kind of hacky… Is there a way to allow App installations only when the GitHub user already has an account on my own website?