
DarinH.78074 (Customer) asked a question.
I have a expresss.js server that I am using for a auth proxy. I am setting up OIDC for my react application. I am using authorization code flow.
I see Okta has https://www.npmjs.com/package/@okta/oidc-middleware where I can use the library to request the code and handle the redirect to getting the token with the code.
However, I prefer to do this manually with node-fetch and consume the api endpoints to get the code and then the token.
Can anyone show me the endpoints/api, please that I can use to send the http request to get a code and then the token? It would be the equivalent to Google's https://accounts.google.com/o/oauth2/v2/auth.
Or would I use my issuer URI https://dev--------.okta.com/oauth2/default? And if so, do I include the default param?

Hi @DarinH.78074 (Customer),
Thank you for posting on the Okta community page!
I am not sure I have fully understood your inquiry but I have done some research and I managed to find the bellow Okta documentations:
Additionally, my advice would be to leverage the Okta Developer forums for this type of questions and take advantage of their expertise.