Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #9093

Closed
Open
Created Apr 06, 2015 by Administrator@rootOwner

gitlab-ce: uncaught javascript exception if gitlab-ce provided session for gitlab-ci

Created by: Senorsen

Version: GitLab 7.9.2 c46d4f5, GitLab CI 7.8.0.pre e5cfac6

Background: Setup GitLab with GitLab-CI (for my example, GitLab is at https://gitlab.xxx.com, GitLab-CI is at https://ci.xxx.com).

Reproduce:

  1. Open GitLab-CI and log in (using GitLab as session provider, Login with GitLab button)
  2. Open a new window (tab) and open GitLab (https://gitlab.xxx.com)
  3. Click on the left-top button (the GitLab icon) to reload the page content
  4. the page will be blank, and in the Browser Console (Developer's tool), an uncaught exception appears:
Uncaught SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL 'https://ci.xxx.com/user_sessions/callback?code=<code>' cannot be created in a document with origin 'https://gitlab.xxx.com'. 
(application-5ec1aeb4604cbfbeff836f956308b0ed.js:12)

I think this is a gitlab related issue, not in the gitlab-ci side. Am I right?

Thanks.

Assignee
Assign to
Time tracking