Google auth adds hash at the end of link when redirecting

I have added the Google passport auth to my website, and got it working, the problem is that when i redirect to the dashboard it add a “#” in the end of the url, which messes with the buttons that use that get the window.location.href to make a request to the server on the dashboard.
so here is where the redirect happens:

  passport.authenticate("google", {
    failureRedirect: "/login",
    successRedirect: "/dashboard"

but when the successRedirect runs the link becomes “http://localhost:3000/dashboard#”, Why did it add the # in the end? and where did it come from?