Error if Angular route contains specific query parameters

I’m using the auth0-angular library (v 1.11.1) in my Angular 14 application, and found a weird problem. If I navigate to a route in the application that contains the query parameters ‘state’ and ‘code’, auth0-angular will immediately redirect me to the error path (as defined by ‘errorPath’ when initializing auth0). Is this a bug or something security related I’m not aware of?

The reason I need a route with these query parameters is that I’m using a 3rd party SaaS that requires a callback route into my application with exactly these parameters.

Any explanation what might be causing this would be much appreciated.

Thanks,
Daniel