# Invalid domain error with laravel app

**URL:** <https://community.auth0.com/t/invalid-domain-error-with-laravel-app/12087>\
**Category:** Get Help\
**Created:** [June 4, 2018, 2:06pm UTC](https://community.auth0.com/t/invalid-domain-error-with-laravel-app/12087 "2018-06-04T14:06:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sahar.atiaf](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@sahar.atiaf](https://community.auth0.com/u/sahar.atiaf)\
**Post date:** [June 4, 2018, 2:06pm UTC](https://community.auth0.com/t/invalid-domain-error-with-laravel-app/12087/1 "2018-06-04T14:06:35Z")

</div>

i currently use auth0 with laravel project and create an app on auth0 website and when i use domain in the laravel domain the following error happen with me (invalid domain ) , how can i fix this error please ?

---

<div class="post-metadata">

**Author:** ![wangadmin](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@wangadmin](https://community.auth0.com/u/wangadmin)\
**Post date:** [July 6, 2018, 4:35am UTC](https://community.auth0.com/t/invalid-domain-error-with-laravel-app/12087/2 "2018-07-06T04:35:44Z")

</div>

I typically solved this problem by adding my domain and a localhost with http _and_ https protocol into Allowed Callback URLs.

I think it’s doing the callback first, just to make sure that domains are valid within Auth0’s callback whitelist.

---

<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 25, 2019, 2:27pm UTC](https://community.auth0.com/t/invalid-domain-error-with-laravel-app/12087/3 "2019-07-25T14:27:15Z")

</div>


