# 404 / redirect issue / Okta Widget in React app

**URL:** <https://devforum.okta.com/t/404-redirect-issue-okta-widget-in-react-app/5608>\
**Category:** Questions\
**Created:** [July 9, 2019, 3:34pm UTC](https://devforum.okta.com/t/404-redirect-issue-okta-widget-in-react-app/5608 "2019-07-09T15:34:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![manutdfan](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/manutdfan/32/1238_2.png) [@manutdfan](https://devforum.okta.com/u/manutdfan)\
**Post date:** [July 9, 2019, 3:34pm UTC](https://devforum.okta.com/t/404-redirect-issue-okta-widget-in-react-app/5608/1 "2019-07-09T15:34:21Z")

</div>

Hi all. I have created a React app and using the most recent release of the Okta Widget for sign-in purposes. I followed the Okta Widget/React sample. Everything ran like a charm locally but when I attempt to deploy my app to other cloud providers, I consistently get a 404 Not Found error when I authenticate successfully and the redirect back to my app occurs.

I have tried a number of various combinations of Login/redirect URIs using the /implicit/callback.

What I do not quite understand is when testing locally, upon redirect to my localhost:3000/implicit/callback there was never anything appended to the URI. However, when I deploy to ‘production’, I have the the id\_token and several other params passed back.

Am I doing something incorrectly where I need to actually store those off the URL and use within my app? I did not see any reference to that in the sample or other samples I found on the web.

Many thanks for any and all assistance! Was so excited to learn integrating with Okta only to receive a big goose egg when deploying to production ☹

---

<div class="post-metadata">

**Author:** ![Fieel](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/fieel/32/1320_2.png) [@Fieel](https://devforum.okta.com/u/Fieel)\
**Post date:** [September 5, 2019, 12:14pm UTC](https://devforum.okta.com/t/404-redirect-issue-okta-widget-in-react-app/5608/2 "2019-09-05T12:14:22Z")

</div>

I have the same problem with my React app :(.

---

<div class="post-metadata">

**Author:** ![Oleksandr](https://avatars.discourse-cdn.com/v4/letter/o/dfb087/32.png) [@Oleksandr](https://devforum.okta.com/u/Oleksandr)\
**Post date:** [May 12, 2020, 10:07am UTC](https://devforum.okta.com/t/404-redirect-issue-okta-widget-in-react-app/5608/3 "2020-05-12T10:07:25Z")

</div>

Hi, I have the same issue! Have you manage to solve it? Any solution?

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [January 24, 2024, 7:47pm UTC](https://devforum.okta.com/t/404-redirect-issue-okta-widget-in-react-app/5608/4 "2024-01-24T19:47:06Z")

</div>


