# 404 response after succesfully logging in

**URL:** <https://devforum.okta.com/t/404-response-after-succesfully-logging-in/6188>\
**Category:** Questions\
**Created:** [September 5, 2019, 12:27pm UTC](https://devforum.okta.com/t/404-response-after-succesfully-logging-in/6188 "2019-09-05T12:27:13Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![dragos](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/dragos/32/1313_2.png) [@dragos](https://devforum.okta.com/u/dragos)\
**Post date:** [September 13, 2019, 5:08am UTC](https://devforum.okta.com/t/404-response-after-succesfully-logging-in/6188/3 "2019-09-13T05:08:39Z")

</div>

Hi @Fieel @bhouse1273

The reason for returning 404 on production environment is that `/implicit/callback` is a virtual path generated from index.html file. On local environment there should not be any issues resolving the endpoint, however, when deploying to production, the web server will try to resolve the endpoint physically.

To resolve this issue, your back-end must be configured to redirect requests coming on `/implicit/callback` endpoint to index.html.

---

_[View the full topic](https://devforum.okta.com/t/404-response-after-succesfully-logging-in/6188)._
