Can i specify query params in redirect URL?

can I specify query params in the redirect URL?

use case:
I want to pass query params in redirect Url, where a user will come after login in magic link passwordless login.