Wants to remove query string error parameters!

localhost:9020/callback?error=invalid_request&error_description=The+request+is+missing+a+required+parameter%2C+includes+an+invalid+parameter+value%2C+includes+a+parameter+more+than+once%2C+or+is+otherwise+malformed&error_hint=Make+sure+that+the+various+parameters+are+correct%2C+be+aware+of+case+sensitivity+and+trim+your+parameters.+Make+sure+that+the+client+you+are+using+has+exactly+whitelisted+the+redirect_uri+you+specified.&state=cAJDQpYZ2tm4jPiZ%2FUCQrA%3D%3D

is there a way to remove query string parameters when we get error in the OAuthflow

is it possible?

Why? How is the application supposed to know that an error occurred? That doesn’t make a lot of sense to be honest and is also not possible. You can always choose to ignore the params.