SSO Login redirection issue

Hi This can be fixed in ruby code. Below is the path to modify the code.

path: app/controllers/users/omniauth_callbacks_controller.rb