I was following this tutorial to implement authorization with github using Spring. Here is oauth2 configuration:
github: clientId: ${GITHUB_CLIENT_ID} cli