# React-native-lock and passwordless login

**URL:** <https://community.auth0.com/t/react-native-lock-and-passwordless-login/7231>\
**Category:** Get Help\
**Tags:** react-native, failed-login, passwordless\
**Created:** [June 23, 2017, 8:04am UTC](https://community.auth0.com/t/react-native-lock-and-passwordless-login/7231 "2017-06-23T08:04:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaiwant.mulik](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@jaiwant.mulik](https://community.auth0.com/u/jaiwant.mulik)\
**Post date:** [June 23, 2017, 8:04am UTC](https://community.auth0.com/t/react-native-lock-and-passwordless-login/7231/1 "2017-06-23T08:04:07Z")

</div>

When using react-native-lock (on iOS) with passwordless `email`` login, I get an login error. Looking at the Dashboard logs indicated the error as `Grant type ‘[http://auth0.com/oauth/legacy/grant-type/ro](http://auth0.com/oauth/legacy/grant-type/ro)’ not allowed for the client.```. I am unable to add this grant to my client (and will probably be unable to do so because of the new policy since June 8). Another client that already has this policy works fine. What is the work around?

---

<div class="post-metadata">

**Author:** ![jaiwant.mulik](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@jaiwant.mulik](https://community.auth0.com/u/jaiwant.mulik)\
**Post date:** [June 23, 2017, 8:18pm UTC](https://community.auth0.com/t/react-native-lock-and-passwordless-login/7231/2 "2017-06-23T20:18:48Z")

</div>

The only current solution is to build your own UI. See [Grant type 'http://auth0.com/oauth/legacy/grant-type/ro' not allowed for the client. · Issue #165 · auth0/react-native-lock · GitHub](https://github.com/auth0/react-native-lock/issues/165).

---

<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:54am UTC](https://community.auth0.com/t/react-native-lock-and-passwordless-login/7231/3 "2018-03-02T05:54:55Z")

</div>


