
RijS.49461 (Customer) asked a question.
Hi,
I have created app of OIDC with web App with 2F and its implemented in local machine and working fine in local machine. but when its deploy on server then page is stuck 'authorization-code/callback'. Doing lots R&D but still issue is not resolved. Implemented in .Net Web Application.
We have tried both code in Statrup class one by one and both working in local machine but in server page is stuck in https://................../Authorization-code/callback
- app.UseOpenIdConnectAuthentication(new OpenIdConnectAuthenticationOptions................
- app.UseOktaMvc(new OktaMvcOptions()................................
Thanks,
Rij

Hi @RijS.49461 (Customer) , Thank you for reaching out to the Okta Community!
I was looking into this and found a few posts that might help get you on the right track.
https://devforum.okta.com/t/net-webforms-with-okta-as-an-authorization-server/16704
https://devforum.okta.com/t/authorizationcodereceived-event-does-not-triggered-during-callback/12101/2
https://devforum.okta.com/t/okta-the-authorize-endoint-blocked-by-cors/20648
My advice would be to reach out to the devforum.okta.com to take advantage of their expertise.
While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products.
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
Hope my answer helps!
--------------------------------
The Okta Community Catalysts Program is now live. Collect online badges when you participate in the Okta Help Center Questions community. Learn more here.
Thanks,
Today I have seen that Its working on RDP server browser but in different machine its throw exception Authorization-code/callback.