Skip to content

Gitlab Geo: Authenticate with OAuth

Gabriel Mazetto requested to merge gitlab-geo-oauth-auth into master

This changes the way Geo (#76) nodes authenticates, to remove the requirement of session sharing between nodes, as described here: #366 (closed)

Checklist

  • When a secondary Geo node is created an OAuth Application is created associated to it
  • When a secondary Geo node is removed the associated OAuth application is also removed
  • When a user tries to login it must be redirected to the primary node using the OAuth workflow
  • The user must be redirected to the "first accessed url before authentication" (as expected)
  • User should be able to logout from a secondary node
  • It displays authentication errors when OAuth application is not present
  • It handles authentication errors when OAuth flow fails
  • Solution for what to do when/if OAuth application is removed

Merge request reports