# Auth0-react failing silently on succesful login

**URL:** <https://community.auth0.com/t/auth0-react-failing-silently-on-succesful-login/109142>\
**Category:** Get Help\
**Tags:** sdks-quickstarts, auth0-react\
**Created:** [June 13, 2023, 2:24pm UTC](https://community.auth0.com/t/auth0-react-failing-silently-on-succesful-login/109142 "2023-06-13T14:24:46Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![sammbeller](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@sammbeller](https://community.auth0.com/u/sammbeller)\
**Post date:** [June 13, 2023, 2:24pm UTC](https://community.auth0.com/t/auth0-react-failing-silently-on-succesful-login/109142/1 "2023-06-13T14:24:46Z")

</div>

Hi all, I’ve set up `auth0-react` in our application following instructions from a number of tutorials. Clicking the login button succeeds - I can see `Success Login` events in my user’s history. But the Auth0Provider’s reducer still has `isAuthenticated` set to false an no user populated.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [June 20, 2023, 11:07am UTC](https://community.auth0.com/t/auth0-react-failing-silently-on-succesful-login/109142/2 "2023-06-20T11:07:26Z")

</div>

Hey there!

Can you share a link to the quickstart / repo / doc you’ve followed so we can connect you with proper maintainers in order to handle that directly? Thank you!

---

<div class="post-metadata">

**Author:** ![sammbeller](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@sammbeller](https://community.auth0.com/u/sammbeller)\
**Post date:** [June 21, 2023, 2:17pm UTC](https://community.auth0.com/t/auth0-react-failing-silently-on-succesful-login/109142/3 "2023-06-21T14:17:43Z")

</div>

Sure, thanks for following up. I used a combination of these two:

> **[Auth0 React SDK Quickstarts: Login](https://auth0.com/docs/quickstart/spa/react/01-login)**
>
> Auth0 allows you to add authentication to your React application quickly and to gain access to user profile information. This guide demonstrates how to integrate Auth0 with any new or existing React application using the Auth0 React SDK.

> **[The Complete Guide to React User Authentication with Auth0](https://auth0.com/blog/complete-guide-to-react-user-authentication/)**
>
> Learn how to add user authentication to React using Context and Hooks. Learn the core concepts of React authentication.

Obviously the latter is out of date but I used it to inform my writing of an `Auth0ProviderWithHistory`

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [June 22, 2023, 9:42am UTC](https://community.auth0.com/t/auth0-react-failing-silently-on-succesful-login/109142/4 "2023-06-22T09:42:42Z")

</div>

Okay gotchya perfect! Can I ask you to raise a GitHub issue in the first link you mentioned and then share a link to it here so we can tackle that directly with the repo maintainers? Thank you!

---

<div class="post-metadata">

**Author:** ![sammbeller](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@sammbeller](https://community.auth0.com/u/sammbeller)\
**Post date:** [June 22, 2023, 2:50pm UTC](https://community.auth0.com/t/auth0-react-failing-silently-on-succesful-login/109142/5 "2023-06-22T14:50:50Z")

</div>

I created an issue in the docs repo as requested: [Auth0-react failing silently on succesful login · Issue #10272 · auth0/docs · GitHub](https://github.com/auth0/docs/issues/10272)

Wouldn’t it make more sense to open it on the auth0-react repo?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [June 23, 2023, 6:52am UTC](https://community.auth0.com/t/auth0-react-failing-silently-on-succesful-login/109142/6 "2023-06-23T06:52:01Z")

</div>

Hey there!

Yep raising it here would be definitely better:

> **[Issues · auth0-samples/auth0-react-samples](https://github.com/auth0-samples/auth0-react-samples/issues)**
>
> Auth0 Integration Samples for React Applications. Contribute to auth0-samples/auth0-react-samples development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![sammbeller](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@sammbeller](https://community.auth0.com/u/sammbeller)\
**Post date:** [June 26, 2023, 1:19pm UTC](https://community.auth0.com/t/auth0-react-failing-silently-on-succesful-login/109142/7 "2023-06-26T13:19:17Z")

</div>

Should I open it on the samples repo or on the `auth0-react` repo directly?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [June 26, 2023, 1:32pm UTC](https://community.auth0.com/t/auth0-react-failing-silently-on-succesful-login/109142/8 "2023-06-26T13:32:25Z")

</div>

In the samples repo as you used it in your implementation

---

<div class="post-metadata">

**Author:** ![sammbeller](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@sammbeller](https://community.auth0.com/u/sammbeller)\
**Post date:** [June 26, 2023, 1:47pm UTC](https://community.auth0.com/t/auth0-react-failing-silently-on-succesful-login/109142/9 "2023-06-26T13:47:58Z")

</div>

Ok I’ve created a separate issue here: [Auth0-react failing silently on succesful login · Issue #341 · auth0-samples/auth0-react-samples · GitHub](https://github.com/auth0-samples/auth0-react-samples/issues/341)

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [June 26, 2023, 2:02pm UTC](https://community.auth0.com/t/auth0-react-failing-silently-on-succesful-login/109142/10 "2023-06-26T14:02:39Z")

</div>

Perfect! Thanks, I’ll ping the repo maintainers in a few minutes!

---

<div class="post-metadata">

**Author:** ![sammbeller](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@sammbeller](https://community.auth0.com/u/sammbeller)\
**Post date:** [July 3, 2023, 2:17pm UTC](https://community.auth0.com/t/auth0-react-failing-silently-on-succesful-login/109142/11 "2023-07-03T14:17:48Z")

</div>

Hi, there’s been no movement on this and it’s been two weeks. Any idea when I can expect to get some help with this?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 4, 2023, 11:49am UTC](https://community.auth0.com/t/auth0-react-failing-silently-on-succesful-login/109142/12 "2023-07-04T11:49:40Z")

</div>

Hey there! Sorry for the inconvenience! I’ll reping the team again Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [July 18, 2023, 11:49am UTC](https://community.auth0.com/t/auth0-react-failing-silently-on-succesful-login/109142/13 "2023-07-18T11:49:54Z")

</div>

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