JS location.hash is stripped off in Safari

I’m programming with JavaScript, and the window.location.hash is being stripped off in Safari.

I’ve seen a few solutions which instruct the developer to add a trailing slash to the callback URL. But this is not working.

This is the error I receive: #error=server_error&error_description=Unable%20to%20configure%20verification%20page.&state=tdnAt0EZkVaS7M3FNmtiDyuYTU1vXLYE

Good afternoon,

I would recommend reviewing this documentation: https://auth0.com/docs/cross-origin-authentication#create-a-cross-origin-verification-page for this specific error.

Thanks!

1 Like

Let us know after that if you have any further questions!

For anyone who has this issue. I followed the instructions above and then unchecked Website tracking in the Safari privacy settings.

:man_technologist:

1 Like

perfect! Thanks a lot for sharing it with the rest of community!

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.