Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G gitlab-pages
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 168
    • Issues 168
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • gitlab-pages
  • Merge requests
  • !423

feat(auth): make authentication scope for Pages configurable

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Ercan Ucan requested to merge ercan.ucan/gitlab-pages:fix/reduce-auth-scope into master Jan 25, 2021
  • Overview 56
  • Commits 2
  • Pipelines 7
  • Changes 8

This MR makes the authentication scope for Pages configurable.

By default, Pages will use api scope to authenticate with Pages Application registered on GitLab.

With this MR, the scope is configurable and can be set to read_api by providing the auth-scope variable within gitlab-pages.conf.

i.e. by adding the following line to gitlab-pages.conf: auth-scope=read_api

Related to issue gitlab#292912

Related Omnibus MR: omnibus-gitlab!4965 (merged)

Related Docs MR: gitlab!53828 (merged)

🛠 with ❤ at Siemens

Edited Feb 11, 2021 by Ercan Ucan
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix/reduce-auth-scope