1. Register a GitHub account
Go to https://github.com and sign up, then sign in.
Note: Due to force majeure, sites on GitHub cannot be accessed, and Zsite cannot solve it.
2. GitHub Settings
Click your avatar at the upper right of the page, and then click Settings.
3. OAuth application
Click OAuth application to enter the page to set applications.
4. Register a new application
Fill in the information as shown below.
Note: Authorization callback URL can be found in SET->API->Open.
5. Client ID and Client Secret
After registering an application, go to the detailed page of the application. You can find Client ID and Client Secret.
Note: Click "Revoke all user tokens" to activate the user login.
6. Configure Client ID and Client Secret.
Enter the Client ID and Client Secret to Zsite and click Save.
Then you can log in your site with GitHub account.