Okta error while using external IDP

We have added github as our external IDP and made the configurations.
When we tried to login with IDP it says that INVALID_SOCIAL_TOKEN and Could not acquire access token from the authorization code.

Followed the okta documentation to create IDP

Please find the logs attached

it seems your localhost server is throwing a null pointer exception. I suggest looking at that servers logs and figuring out why it triggered the null pointer exception