Unable to change value of redirect url for application

On the self-hosted version of GitLab, we use GitLab as auth provider for SonarQube, the application is registered in GitLab with a redirect URL but recently it was changed. After updating the value of URL in GitLab, after the login, it still redirects the user to the old URL.

  1. Deleted old app and created new app with new redirect url value.

  2. Go to sonarqube application and try with GitLab login, the redirect URL is inavlid.