I’m having some trouble with redirects. I simply want to redirect (netlify site) example.com/rich/login to http://localhost:3000/callback. This far it’s working fine, but the rich/login path always has parameters (?code=…&state=…). However, these are not being appended to the /callback url. This is my current redirect:
[[redirects]]
from = "/rich/login/*"
to = "https://localhost:35893/callback/:splat"
How do I add the query parameters in the rewrite rule? (I don’t want them to be like /code/state like the docs mention, they have to be appended as usual with ? and &)