# How do I implement the auth0 api (not 'lock') with React?

**URL:** <https://community.auth0.com/t/how-do-i-implement-the-auth0-api-not-lock-with-react/7936>\
**Category:** Get Help\
**Tags:** react, auth0-api\
**Created:** [August 23, 2017, 2:32am UTC](https://community.auth0.com/t/how-do-i-implement-the-auth0-api-not-lock-with-react/7936 "2017-08-23T02:32:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![github2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/github2/32/7903_2.png) [@github2](https://community.auth0.com/u/github2)\
**Post date:** [August 23, 2017, 2:32am UTC](https://community.auth0.com/t/how-do-i-implement-the-auth0-api-not-lock-with-react/7936/1 "2017-08-23T02:32:36Z")

</div>

Every example/tutorial I can find shows how to implement Auth0 using the ‘lock’ hosted popup interface. While using lock certainly makes creating a login page easier, I require more control over my login/signup forms than the popup provides. Trouble is, I can’t find any tutorials or documentation on implementing auth0 localdb and social (fb, twitter, etc.) login for React that _doesn’t_ use ‘lock’

Can anyone point me in the right direction?

---

<div class="post-metadata">

**Author:** ![alex.moss2516](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alex.moss2516/32/7884_2.png) [@alex.moss2516](https://community.auth0.com/u/alex.moss2516)\
**Post date:** [August 23, 2017, 6:54am UTC](https://community.auth0.com/t/how-do-i-implement-the-auth0-api-not-lock-with-react/7936/2 "2017-08-23T06:54:55Z")

</div>

I absolute feel your pain! Our project required us not to use ‘Lock’ and we spent hours going through documentation to piece it all together. We finally came across these which steered us in the right direction to call Auth0 through our api proxy. Hope this helps.

[https://auth0.com/docs/api/authentication#resource-owner-password](https://auth0.com/docs/api/authentication#resource-owner-password)  
[https://auth0.com/docs/api-auth/tutorials/password-grant](https://auth0.com/docs/api/authentication#resource-owner-password)

---

<div class="post-metadata">

**Author:** ![github2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/github2/32/7903_2.png) [@github2](https://community.auth0.com/u/github2)\
**Post date:** [August 23, 2017, 8:49am UTC](https://community.auth0.com/t/how-do-i-implement-the-auth0-api-not-lock-with-react/7936/3 "2017-08-23T08:49:38Z")

</div>

Thanks, that does help!

---

<div class="post-metadata">

**Author:** ![github2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/github2/32/7903_2.png) [@github2](https://community.auth0.com/u/github2)\
**Post date:** [August 23, 2017, 8:49am UTC](https://community.auth0.com/t/how-do-i-implement-the-auth0-api-not-lock-with-react/7936/4 "2017-08-23T08:49:38Z")

</div>

Thanks, that does help!

---

<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:** [March 2, 2018, 5:56am UTC](https://community.auth0.com/t/how-do-i-implement-the-auth0-api-not-lock-with-react/7936/5 "2018-03-02T05:56:04Z")

</div>


