@hrishikesh
Any updates on how to remove the unwanted query strings in a “non-hacky” way?
I’m trying to redirect from https://my-app.netlify.app/?oauth_token=xyz&oauth_verifier=xzy to https://my-app.netlify.app in my netlify.toml file
My approach:
[[[redirects]]
from = "/*"
to = "/:splat/?success"
query = {oauth_token = ":token", oauth_verifier = ":verifier"}
force = true
This kinds works…it results in https://my-app.netlify.app?success. But how can I remove the ?success?