I have an Okta integration into an existing .Net application. I am able to get authorization code but when I try to get the token I am getting a 400 error (The remote server returned an error: (400) Bad Request. ). I am not sure what the issue is. two questions:
- Does Okta has a log so I can log at what is the exact error
- Below is the request details from the debugger. I suspect the error maybe with the credentials and how it is being passed. Can anybody shed some light on this? I have been banging my head for a couple of days now. Here is the code and debug snapshot.
Here is the code:
Debugger