Remove search params from url on beforeLoad
What is the preferred way of deleting search params from the URL?
We have implemented a magic link auth system that basically adds the JWT token to the URL, I set this JWT token in localstorage and it handle by the API.
But i dont want this token to be in the URL the whole time so i want to delete it as soon as its added to localstorage.
We have implemented a magic link auth system that basically adds the JWT token to the URL, I set this JWT token in localstorage and it handle by the API.
But i dont want this token to be in the URL the whole time so i want to delete it as soon as its added to localstorage.