# Incosisten behaviour in cross-origin-authentication flow

**URL:** <https://community.auth0.com/t/incosisten-behaviour-in-cross-origin-authentication-flow/9524>\
**Category:** Get Help\
**Tags:** cross-origin-authent\
**Created:** [February 17, 2018, 3:44am UTC](https://community.auth0.com/t/incosisten-behaviour-in-cross-origin-authentication-flow/9524 "2018-02-17T03:44:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cokenrocknroll](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@cokenrocknroll](https://community.auth0.com/u/cokenrocknroll)\
**Post date:** [February 17, 2018, 3:44am UTC](https://community.auth0.com/t/incosisten-behaviour-in-cross-origin-authentication-flow/9524/1 "2018-02-17T03:44:30Z")

</div>

I’m implementing a cross-origin-authentication flow with an Implicit Grant type and Auth0.js, the problem is that when I call `auth0.login({ email, password })` I sometimes get redirected to the Hosted Login Page and sometimes I get redirected to the redirection URL I specified as part of the `new WebAuth` call.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [December 17, 2018, 3:36pm UTC](https://community.auth0.com/t/incosisten-behaviour-in-cross-origin-authentication-flow/9524/2 "2018-12-17T15:36:28Z")

</div>

As it has been more than a few months since this topic was opened, and there has been no reply or further information provided as to the existence of the issue, we are closing this topic. Please don’t hesitate to create a new topic if this issue is still present, we would be happy to work with you to help find a resolution.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [December 17, 2018, 3:36pm UTC](https://community.auth0.com/t/incosisten-behaviour-in-cross-origin-authentication-flow/9524/3 "2018-12-17T15:36:30Z")

</div>


