Unable to get authentication code from redirect url when authenticating with OAuth2 from .NET desktop app
I am attempting to create a desktop application in .NET that allows a user to login using OAuth2. However, I’m never able to get the context from the redirect url. When I start the process, I’m able to get to the authentication url, and clicking on the authenticate button sends me to the redirect url with the access token, but I’m unable to use it in my code, which is where it needs to be used. Can someone help me out and tell me what I’m doing wrong here?