Need Okta .Net SDK method to get Access Token, Refresh Token and Id Token using Authorization Code without Client Secret needed

I need Okta .Net SDK method to get Access Token, Refresh Token, and ID Token using Authorization Code without Client Secret.

I’m looking for the same approach here: Implement authorization by grant type | Okta Developer. I have an Okta Application that doesn’t need Client Secret and most of the sample codes to retrieve Tokens requires Client Secret.

Can someone help me on this.

I was able to fix this, by following these steps: Google Search