GitHub OAuth app setup¶
- Open GitHub Settings → Developer settings → OAuth Apps → New OAuth App.
- Set Application name and Homepage URL (for local development use
http://localhost:8080). - Set Authorization callback URL:
http://localhost:8080/login/oauth2/code/github- Create the app and copy:
Client ID→GH_CLIENT_IDClient secret→GH_CLIENT_SECRET
Default authorization endpoint in LeaveMaster:
http://localhost:8080/oauth2/authorization/github