Method: IdeController#oauth_redirect

Defined in:
app/controllers/ide_controller.rb

#oauth_redirectObject



30
31
32
33
34
35
36
37
# File 'app/controllers/ide_controller.rb', line 30

def oauth_redirect
  # TODO - It's **possible** we end up here and no oauth application has been set up.
  # We need to have better handling of these edge cases. Here's a follow-up issue:
  # https://gitlab.com/gitlab-org/gitlab/-/issues/433322
  return render_404 unless ::WebIde::DefaultOauthApplication.oauth_application

  render layout: 'fullscreen', locals: { minimal: true }
end