Net8.0 issue - ## InvalidOperationException: Cannot redirect to the authorization endpoint, the configuration may be missing or invalid

I had this all working before I upgraded everything to Net8.0 and now I am stumped. After I upgraded my webapp I also updated everything in Nuget and am on Okta.AspNetCore 4.6.2 and 9.0.4 of the Okta.SDK. Nothing changed… and I am getting this error like it cannot see my appsettings.json file.

InvalidOperationException: Cannot redirect to the authorization endpoint, the configuration may be missing or invalid.

I am not getting any errors or anything for dependencies missing - not sure where I need to maybe look next.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Please review Okta Asp.NetCore samples. The sample contains several sample applications that show you how to integrate various Okta use-cases into your ASP.NET Core applications.
GitHub - okta/samples-aspnetcore: samples-aspnetcore