# "You're not authorized to access this page. Please contact the administrator." when logging in with renamed Github account

**URL:** <https://community.sonarsource.com/t/youre-not-authorized-to-access-this-page-please-contact-the-administrator-when-logging-in-with-renamed-github-account/21959>\
**Category:** SonarQube Cloud\
**Created:** [March 23, 2020, 10:23am UTC](https://community.sonarsource.com/t/youre-not-authorized-to-access-this-page-please-contact-the-administrator-when-logging-in-with-renamed-github-account/21959 "2020-03-23T10:23:57Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulvancoller](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/paulvancoller/32/10258_2.png) [@paulvancoller](https://community.sonarsource.com/u/paulvancoller)\
**Post date:** [March 23, 2020, 10:23am UTC](https://community.sonarsource.com/t/youre-not-authorized-to-access-this-page-please-contact-the-administrator-when-logging-in-with-renamed-github-account/21959/1 "2020-03-23T10:23:57Z")

</div>

Template for a good new topic, formatted with [Markdown](https://commonmark.org/help/):

- ALM used: Github
- CI system: Circle CI
- Error observed:

```auto
You're not authorized to access this page. Please contact the administrator.

```

- Steps to reproduce  
I renamed my github account name from `paulvancoller-adeptadvisory` to `paulvancoller`.  
When I try to log into Sonarcloud with Github, I get the error `You're not authorized to access this page. Please contact the administrator.`. It appears that it is still trying to use [paulvancoller-adeptadvisory@github.com](mailto:paulvancoller-adeptadvisory@github.com).

Is there a way to change this inside the SonarCloud database?

Thanks  
Paul

---

<div class="post-metadata">

**Author:** ![janos](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/janos/32/60_2.png) [@janos](https://community.sonarsource.com/u/janos)\
**Post date:** [March 23, 2020, 3:59pm UTC](https://community.sonarsource.com/t/youre-not-authorized-to-access-this-page-please-contact-the-administrator-when-logging-in-with-renamed-github-account/21959/2 "2020-03-23T15:59:43Z")

</div>

> [@paulvancoller](#):
>
> ```auto
> You're not authorized to access this page. Please contact the administrator.
> 
> ```

Do you get this error when you try to log in?

Or do you get this when accessing a specific project / page?

Are you able to login with your GitHub account?

Normally, changing your GitHub username should not be an issue. You should be able to login as before, and have access to the same organizations and projects as before.

Please share the above details (and others if you feel relevant) so we can understand the problem better.

---

<div class="post-metadata">

**Author:** ![W0GER](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/w0ger/32/7183_2.png) [@W0GER](https://community.sonarsource.com/u/W0GER)\
**Post date:** [March 23, 2020, 4:03pm UTC](https://community.sonarsource.com/t/youre-not-authorized-to-access-this-page-please-contact-the-administrator-when-logging-in-with-renamed-github-account/21959/3 "2020-03-23T16:03:33Z")

</div>

I’m having a similar issue but with a renamed Azure DevOps account. Unfortunately, my account is the “admin” account for our Sonar Cloud instance.

1. I get the same error after validating my Azure DevOps account.
2. It’s on all pages I attempt to visit
3. Yes, I’m able to log in to my Azure DevOps account.

---

<div class="post-metadata">

**Author:** ![paulvancoller](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/paulvancoller/32/10258_2.png) [@paulvancoller](https://community.sonarsource.com/u/paulvancoller)\
**Post date:** [March 23, 2020, 4:57pm UTC](https://community.sonarsource.com/t/youre-not-authorized-to-access-this-page-please-contact-the-administrator-when-logging-in-with-renamed-github-account/21959/4 "2020-03-23T16:57:13Z")

</div>

Hi Janos.

Thanks for the reply.

I get this when I log into Sonarcloud from the “[https://sonarcloud.io/](https://sonarcloud.io/)” URL.

I am at that point, already logged into my [Github.com](http://Github.com) account on the same browser.

So at this point I cannot get to my projects or profile screen either.

Regards  
Paul

---

<div class="post-metadata">

**Author:** ![janos](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/janos/32/60_2.png) [@janos](https://community.sonarsource.com/u/janos)\
**Post date:** [March 23, 2020, 5:45pm UTC](https://community.sonarsource.com/t/youre-not-authorized-to-access-this-page-please-contact-the-administrator-when-logging-in-with-renamed-github-account/21959/5 "2020-03-23T17:45:28Z")

</div>

Can you please check the JavaScript console of your browser to see if there are some failing requests or errors?

Have you tried cleaning the browser cache (or logging in from incognito window)?

---

<div class="post-metadata">

**Author:** ![paulvancoller](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/paulvancoller/32/10258_2.png) [@paulvancoller](https://community.sonarsource.com/u/paulvancoller)\
**Post date:** [March 23, 2020, 7:07pm UTC](https://community.sonarsource.com/t/youre-not-authorized-to-access-this-page-please-contact-the-administrator-when-logging-in-with-renamed-github-account/21959/6 "2020-03-23T19:07:40Z")

</div>

Hi there.

I just tried both options, but sadly the same response.  
It appears to be backend related.

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/2X/b/b5c744e64c5145697ee4bfadd4252cba6f5ddd80.jpeg)

Regards  
Paul

---

<div class="post-metadata">

**Author:** ![janos](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/janos/32/60_2.png) [@janos](https://community.sonarsource.com/u/janos)\
**Post date:** [March 25, 2020, 10:52am UTC](https://community.sonarsource.com/t/youre-not-authorized-to-access-this-page-please-contact-the-administrator-when-logging-in-with-renamed-github-account/21959/9 "2020-03-25T10:52:23Z")

</div>

Hi @paulvancoller, in our database I see both `paulvancoller@github` and `paulvancoller-adeptadvisory@github`. What is strange is that the GitHub ID we have of `paulvancoller@github` appears to be non-existent on GitHub, and the GitHub ID of `paulvancoller-adeptadvisory@github` matches the real GitHub ID of `paulvancoller` user on GitHub.

Normally, the GitHub ID should never change when renaming a username, that’s the whole point (at GitHub side, and we follow likewise). I will investigate how we got into this situation, and find a fix.

If you have any ideas on your side (related to how exactly you renamed your account on GitHub, or something to explain the non-existent GitHub ID), that could be helpful, please share!

---

<div class="post-metadata">

**Author:** ![paulvancoller](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/paulvancoller/32/10258_2.png) [@paulvancoller](https://community.sonarsource.com/u/paulvancoller)\
**Post date:** [March 26, 2020, 8:03pm UTC](https://community.sonarsource.com/t/youre-not-authorized-to-access-this-page-please-contact-the-administrator-when-logging-in-with-renamed-github-account/21959/11 "2020-03-26T20:03:25Z")

</div>

Hi @janos.

Apologies for the late reply.

What you describe actually sounds right. Here is what happened:

I had 2 Github users:

- `paulvancoller`
- `paulvancoller-adeptadvisory`

I wanted to migrate them, so I deleted `paulvancoller` , and renamed `paulvancoller-adeptadvisory` to `paulvancoller`.

So, if you are saying that a rename does not change your ID, it would make sense that `paulvancoller` would have an id of `paulvancoller-adeptadvisory@github`.

Would it then be possible for you to delete (or rename) the paulvancoller@github id, as this technically no longer exists on Github’s side?

Thanks  
Paul

---

<div class="post-metadata">

**Author:** ![janos](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/janos/32/60_2.png) [@janos](https://community.sonarsource.com/u/janos)\
**Post date:** [April 1, 2020, 10:33am UTC](https://community.sonarsource.com/t/youre-not-authorized-to-access-this-page-please-contact-the-administrator-when-logging-in-with-renamed-github-account/21959/13 "2020-04-01T10:33:39Z")

</div>

Thanks Paul for the explanation.

As a workaround, we manually swapped your accounts. Can you please check if it works, and that you have access to all you had before? Please let us know!

And I created an internal ticket to handle this use case better in the future.

---

<div class="post-metadata">

**Author:** ![paulvancoller](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/paulvancoller/32/10258_2.png) [@paulvancoller](https://community.sonarsource.com/u/paulvancoller)\
**Post date:** [April 1, 2020, 11:53am UTC](https://community.sonarsource.com/t/youre-not-authorized-to-access-this-page-please-contact-the-administrator-when-logging-in-with-renamed-github-account/21959/15 "2020-04-01T11:53:35Z")

</div>

Thanks very much for the reply and support.

I can confirm this is working, and I can successfully log in.

Regards  
Paul

---

<div class="post-metadata">

**Author:** ![fabiobernalt](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/fabiobernalt/32/23151_2.png) [@fabiobernalt](https://community.sonarsource.com/u/fabiobernalt)\
**Post date:** [August 16, 2021, 12:20pm UTC](https://community.sonarsource.com/t/youre-not-authorized-to-access-this-page-please-contact-the-administrator-when-logging-in-with-renamed-github-account/21959/16 "2021-08-16T12:20:01Z")

</div>

Hey @janos,

Could you help me out? I’m having the exact same issue that Paul described.

- Old GitHub: fbernalt@github
- New GitHub: fabiobernalt@github

---

<div class="post-metadata">

**Author:** ![janos](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/janos/32/60_2.png) [@janos](https://community.sonarsource.com/u/janos)\
**Post date:** [August 16, 2021, 12:38pm UTC](https://community.sonarsource.com/t/youre-not-authorized-to-access-this-page-please-contact-the-administrator-when-logging-in-with-renamed-github-account/21959/17 "2021-08-16T12:38:27Z")

</div>

Hi @fabiobernalt, welcome to the community!

It will be better to post your request as a new topic, with a detailed explanation of how exactly it happened that your old GitHub username was `fbernalt`, and now it is `fabiobernalt`. We need some way to verify such identity changes, or a reasonable explanation how you lost access. The more information you can provide, the better. Please post as a new topic, with a link back to this one, to help other readers. Please do not address me directly, somebody from the team will pick up your new thread.

---

<div class="post-metadata">

**Author:** ![Kunal\_Parmar](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/kunal_parmar/32/28741_2.png) [@Kunal\_Parmar](https://community.sonarsource.com/u/Kunal_Parmar)\
**Post date:** [December 24, 2021, 6:44am UTC](https://community.sonarsource.com/t/youre-not-authorized-to-access-this-page-please-contact-the-administrator-when-logging-in-with-renamed-github-account/21959/18 "2021-12-24T06:44:06Z")

</div>

Hi Janos, I have been using sonarcloud for some time and i have created my account using Github. But since last week i am getting an error while logging in with Github saying “You are not authorized to view this page”. I haven’t made any changes on Github regarding the name change or anything. My github username is `TheRedHatter`.

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/3/0/30dac2bfb603e8d6c2eb03978e37ec9c1c7d700e.png)

---

<div class="post-metadata">

**Author:** ![Boopathi\_S](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/boopathi_s/32/64104_2.png) [@Boopathi\_S](https://community.sonarsource.com/u/Boopathi_S)\
**Post date:** [August 6, 2025, 1:12pm UTC](https://community.sonarsource.com/t/youre-not-authorized-to-access-this-page-please-contact-the-administrator-when-logging-in-with-renamed-github-account/21959/19 "2025-08-06T13:12:18Z")

</div>

> [@fabiobernalt](#):
>
> - New GitHub: fabiobernalt@github

We have Github Enterprise. We brought sonarqube newly. After configuration of Authentication with valid GitHub App sucessfully still getting “You are not authorized this page”
