# Callback Issue with Redirects

**URL:** <https://community.auth0.com/t/callback-issue-with-redirects/30655>\
**Category:** Get Help\
**Tags:** redirect-rules, auth0, login\
**Created:** [September 10, 2019, 3:11pm UTC](https://community.auth0.com/t/callback-issue-with-redirects/30655 "2019-09-10T15:11:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![briannmm](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/briannmm/32/16013_2.png) [@briannmm](https://community.auth0.com/u/briannmm)\
**Post date:** [September 10, 2019, 3:11pm UTC](https://community.auth0.com/t/callback-issue-with-redirects/30655/1 "2019-09-10T15:11:50Z")

</div>

I am problems deploying a site to AWS Amplify where this works fine locally and using e.g. Netlify.

For SPAs is there a recommended setup for Redirects? The callback URL gets automatically changed to index.html which causes the callback function to fail to load.

Has anyone come across similar issues?

Brian Henderson

---

<div class="post-metadata">

**Author:** ![vineethb](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vineethb/32/12799_2.png) [@vineethb](https://community.auth0.com/u/vineethb)\
**Post date:** [May 18, 2020, 1:02pm UTC](https://community.auth0.com/t/callback-issue-with-redirects/30655/2 "2020-05-18T13:02:26Z")

</div>

Hi Brian,

I am also facing a similar issue. After authenticating from Auth0 , upon redirect, it takes me to a page which throws an XML - Access denied message. I have also used amplify publish to amplify console to render the SPA.

Looking forward to your inputs.  
Thanks  
Vineeth.
