
kishanP.87929 (Customer) asked a question.
The code is working on the MVC Project, But the same configuration and code is not working on the Core project.
I tried to the same in the Okta default project shared by okta, https://github.com/okta/samples-aspnetcore/tree/master/samples-aspnetcore-3x/okta-hosted-login/okta-aspnetcore-mvc-example
But in that project as well i am getting the same error.
So may be any configuration settings we need to make from the Okta side and please give some solution

Hello @kishanP.87929 (Customer)
I hope you are having a great day
In this scenario, we may need to know more details about your setup to give you the correct answer but since this is a custom API Integration I suggest you post this question on our Okta Developer Forums: https://devforum.okta.com, this is a place for the Okta developer community to interact. You can also open a case with our support team and they will assist you with your integration.
Please let us know if this was useful and allow you to solve your problem. Have a great day ahead
Regards
Henry Esquivel
Okta Inc