Skip to content

The GitLab Pages auth page says "Please note that this application is not provided by GitLab and you should verify its authenticity before allowing access." which is incorrect on fresh install of omnibus

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

The GitLab Pages auth page says "Please note that this application is not provided by GitLab and you should verify its authenticity before allowing access.".

It's our standard OAuth form, but the message is incorrect because pages is provided by gitlab.

image

Steps to reproduce

  • Install GitLab on omnibus
  • Enable pages and pages access contro
  • Create any pages project with access control enabled and try to open pages site

What is the current bug behavior?

See above

What is the expected correct behavior?

The same OAuth form without this text

Output of checks

Fixed on GitLab.com. This happens on on-premise installs because automatically generated applications are not trusted by default.

Possible fixes

Create trusted application by default

https://gitlab.com/gitlab-org/omnibus-gitlab/blob/4da16f405f69c726842769f6e0db0868b793d104/files/gitlab-cookbooks/gitlab/libraries/gitlab_pages.rb#L85

cc @ogolowinski @darbyfrey

Edited by 🤖 GitLab Bot 🤖