This is a sample Golang oAuth2 Linkedin APIv2 application to demonstrate how to use the Linkedin APIv2 with oAuth2.
LINKEDIN_CLIENT_ID=xxx LINKEDIN_CLIENT_SECRET=xxx REDIRECT_URL=http://localhost:8080/callback go run main.go
And then open http://localhost:8080 in your browser.