# Auth0 Callback URL Mismatch Error in WeWeb

**URL:** <https://community.weweb.io/t/auth0-callback-url-mismatch-error-in-weweb/9752>\
**Category:** Ask us anything\
**Tags:** auth0, authentication\
**Created:** [July 16, 2024, 1:52pm UTC](https://community.weweb.io/t/auth0-callback-url-mismatch-error-in-weweb/9752 "2024-07-16T13:52:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![damian](https://avatars.discourse-cdn.com/v4/letter/d/34f0e0/32.png) [@damian](https://community.weweb.io/u/damian)\
**Post date:** [July 16, 2024, 1:52pm UTC](https://community.weweb.io/t/auth0-callback-url-mismatch-error-in-weweb/9752/1 "2024-07-16T13:52:51Z")

</div>

Hello WeWeb Community,

I’m encountering an issue with Auth0 authentication specifically when logging in through the WeWeb editor. However, logging in from our published site (campus.novolabs.xyz) works without any issues.

Whenever I try to log in via WeWeb, I receive the following error message:

> dev-utx6tjh62756r3w0  
> Oops!, something went wrong  
> Callback URL mismatch.  
> The provided redirect\_uri is not in the list of allowed callback URLs.  
> Please go to the Application Settings page and make sure you are sending a valid callback url from your application.

This error suggests a problem with the callback URL settings in Auth0, but I have verified that the URLs are configured correctly for our main site. It seems the issue arises only within the WeWeb environment.

The callback URL is the next one: [Editor | WeWeb](https://editor.weweb.io/d14030eb-a519-47de-91a3-1f8fb3a668fc)

I have attached a screenshot of the Auth0 configuration to help diagnose the issue.

 ![Screenshot 2024-07-16 at 10.51.39](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/3/3fc309c926dc7bd45dda36b0c2fd0bfa5e142328.jpeg)

Has anyone else faced this issue, or does anyone have insights on how to fix this in the WeWeb setting? Any guidance would be greatly appreciated!

Thank you in advance for your help!

---

<div class="post-metadata">

**Author:** ![andyslack](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/andyslack/32/10816_2.png) [@andyslack](https://community.weweb.io/u/andyslack)\
**Post date:** [September 16, 2024, 7:49am UTC](https://community.weweb.io/t/auth0-callback-url-mismatch-error-in-weweb/9752/2 "2024-09-16T07:49:23Z")

</div>

Hi @damian

I am experiencing the same issue, works fine with my staging env but I cannot get it to work via the editor. This makes testing my API endpoints tricky.

```auto
Callback URL mismatch.
The provided redirect_uri is not in the list of allowed callback URLs.

```

However in my Auth0 callback settings I am including both:

`https://*.weweb.io, https://*.weweb-preview.io`

Did you manage to get this working?

---

<div class="post-metadata">

**Author:** ![andyslack](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/andyslack/32/10816_2.png) [@andyslack](https://community.weweb.io/u/andyslack)\
**Post date:** [September 16, 2024, 7:57am UTC](https://community.weweb.io/t/auth0-callback-url-mismatch-error-in-weweb/9752/3 "2024-09-16T07:57:17Z")

</div>

This did the trick - [Auth0 Callback URL mismatch 2 - #5 by andrii\_r](https://community.weweb.io/t/auth0-callback-url-mismatch-2/2260/5)

I think the docs can be a bit clearer about this TBH
