How to handle the decline authorize app in NextJs?

When I press the decline button into this screen it redirect to error page (api/auth/callback?error=access_denied&error_description=User%20did%20not%20authorize%20the%20request)

I don’t have a callback url file in to the system. So how do I handle this?

Authorize app form:

error page after clicking on decline button: