Draft: Introduce OAuth for Web IDE
What does this MR do and why?
This is the Spike MR for adding OAuth to the Web IDE. It will be broken out into smaller MR's.
- Includes db migrations for adding
web_ide_oauth_application
to application settings. - Includes
before_action
inide_controller
to ensure theweb_ide_oauth_application
is initialized. - Adds a new
ide#oauth_redirect
endpoint and view.
Screenshots or screen recordings
How to set up and validate locally
-
Feature.enable(:web_ide_oauth)
in rails console (rails c
). - Visit IDE for any project and notice that requests are using OAuth token.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Paul Slaughter