When I would run OAuth2Service.ConsoleApp, I would get a connection to the auth server, followed by a new window opening in my browser (chrome Version 92.0.4515.159 (Official Build) (64-bit)), but it would present a blank white window and the apiclient.config file would not get updated with an access token. Using the browser "inspect" would yield an empty html header and body. Removing "&scope=" from the url allowed it to work, so I checked the code and found a minor typo? If it matters, this was directed at sandbox-api.digkey.com.
Examining the code OAuth2Service.cs, I noticed that the documentation says that the "scopes" param is unused. Looking at line 57 I could see that it was using "scope=" instead of "scopes=". I changed it and all is working fine.
If I knew how to do it, I would provide a patch/push/pull request (I don't even know which one it is!).