404 Error in ASP.NET okta-hosted-login sample from Forgot Password flow

Hi,

I have configured the ASP.NET okta-hosted-login sample (https://github.com/okta/samples-aspnet/tree/master/okta-hosted-login) and am able to log in. Everything seems to work, except for the last step of the Forgot Password flow.

After going through the “Forgot Password?” email/security question/new password flow, I’m redirected back to “http://localhost:8080/authorization-code/callback?iss=…” , which results in a 404 ASP.NET error:

The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /authorization-code/callback

I have the following set in Web.config, and it works for Login. Just not the redirect from Forgot Password.

<add key="okta:RedirectUri" value="http://localhost:8080/authorization-code/callback" />

Any suggestions on how to successfully complete Forgot Password in the sample app?

Thanks.