Merge branch 'auth' into 'master'
Make GitLab pages support access control This change adds support for access controlled pages by configuration provided from GitLab to the `config.json`. When project is not public and access control is enabled for it, pages will require user to authenticate. This is done by redirecting user to GitLab authorize endpoint. If project visiblity is public, then access will not be checked. Pages will store the access token in a session cookie. When access token is invalid the authentication will be done again. This work is related to the feature request gitlab-ce#33422, check also MR gitlab-ce!18589 and omnibus-gitlab!2583. ## Changes * New fields in the `config.json` * Auth package for handling OAuth and checking access to a project when necessary * Test for auth and also acceptance tests See merge request !94
Showing with 3693 additions and 73 deletions