See https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/creating-an-oauth-app.
Set the authorization callback url to https://<your-domain>/login/github/callback.
See https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/creating-an-oauth-app.
Set the authorization callback url to https://<your-domain>/login/github/callback.