# Callback URL mismatch in Swift

**URL:** <https://community.auth0.com/t/callback-url-mismatch-in-swift/88247>\
**Category:** Get Help\
**Created:** [August 5, 2022, 4:31am UTC](https://community.auth0.com/t/callback-url-mismatch-in-swift/88247 "2022-08-05T04:31:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcin1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcin1/32/33197_2.png) [@marcin1](https://community.auth0.com/u/marcin1)\
**Post date:** [August 5, 2022, 4:31am UTC](https://community.auth0.com/t/callback-url-mismatch-in-swift/88247/1 "2022-08-05T04:31:51Z")

</div>

Hi there. I’m new to programming and working on my final project in Swift programming. I am building a small app. I am trying to use auth0 in my app however I am getting the Callback URL mismatch error even though I have the URL in the allowed URL list. I have checked it 20 times in the last few hours and they match exactly. Any idea what I could be doing wrong? I have followed this [Auth0 iOS / macOS SDK Quickstarts: Login](https://auth0.com/docs/quickstart/native/ios-swift)  
and this  
[https://auth0.com/blog/get-started-ios-authentication-swift-uikit/#First-Steps](https://auth0.com/blog/get-started-ios-authentication-swift-uikit/#First-Steps)  
guide up to the point of running it for the first time and that is where I stalled.

---

<div class="post-metadata">

**Author:** ![thameera](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/thameera/32/13430_2.png) [@thameera](https://community.auth0.com/u/thameera)\
**Post date:** [August 5, 2022, 7:39am UTC](https://community.auth0.com/t/callback-url-mismatch-in-swift/88247/2 "2022-08-05T07:39:16Z")

</div>

Hey @marcin1 , when you get this error, a new log will be generated in your Auth0 tenant (under Monitoring → Logs) with a description similar to `"Callback URL mismatch. SOME_URL is not in the list of allowed callback URLs"`. You can compare the value of `SOME_URL` to what you have actually added to the allow list in the application. That should give you a hint as to what’s going wrong.

---

<div class="post-metadata">

**Author:** ![marcin1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcin1/32/33197_2.png) [@marcin1](https://community.auth0.com/u/marcin1)\
**Post date:** [August 5, 2022, 1:00pm UTC](https://community.auth0.com/t/callback-url-mismatch-in-swift/88247/3 "2022-08-05T13:00:36Z")

</div>

Hi thameera.

Thank you for the response. The problem was “https://”, when I removed that from the allowed callbacks, it worked.

---

<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:** [November 4, 2022, 2:28pm UTC](https://community.auth0.com/t/callback-url-mismatch-in-swift/88247/4 "2022-11-04T14:28:10Z")

</div>


