Zenodo: Organization's repositories do not show up in the list

Created on 1 Aug 2019  ·  9Comments  ·  Source: zenodo/zenodo

Dear developer,

I cannot find the repositories of my new organization.

I tried syncing the account

image

I also followed the instruction below to check if can access it.

image

And found that only the repositories of ropensic don't show up.

image

What's the problem?

Best,
Shixiang

Most helpful comment

Just hit this, previously authorized zenodo for github access under my github user account, but later created a github organisation, and none of the oganisation's github repos appear in zenodo. Here's how I solved it...

  1. Go to the settings page for my personal github account - https://github.com/settings/applications - Zenodo should be listed there under the "Authorized OAuth Apps" tab.
  2. Click Zenodo, scroll down to "Organization access" and grant access to the organization you want.
  3. Go to Zenodo's Github settings - https://zenodo.org/account/settings/github/ - scroll down to "GitHub repositories" section, click "sync now", refresh the web page, then your repository should appear.
  4. Flip the switch off to on

A webhook should now have been installed. You can check by going to the setting page for the specific github repo you want to archive, then look under the webhooks section.

Hth.

All 9 comments

The problem came from GitHub setting, sorry for reporting this.

Just to be clear, the only way I got this to work was to completely remove any access restrictions for third-party applications:
Screenshot 2020-02-14 at 14 51 29

I don't think this a good policy in general, and I think this is not what the zenodo developers had in mind when they wrote this:
Screenshot 2020-02-14 at 14 53 34

However, what is missing to me in the tutorial above is: how do I trigger the zenodo application to request access?
No problem to give it once it shows up asking for access in the list of third party applications.

@lnielsen Perhaps this issue could be reopened?

Sorry, @ShixiangWang what did you change to resolve this?

@lauraxijia Sorry, I have forgotten. You should give the zenodo permissions from Github.

@ShixiangWang we (Organization owner) did grant ‘third-party access’ to Zenodo from the organization account, but still no repo from the organization account is showing up in my Zenodo’s list. And all repo are public repos.
Could it be the case that only organization owner can register repo and apply for a DOI in their Zenodo, but not contributors?

Just hit this, previously authorized zenodo for github access under my github user account, but later created a github organisation, and none of the oganisation's github repos appear in zenodo. Here's how I solved it...

  1. Go to the settings page for my personal github account - https://github.com/settings/applications - Zenodo should be listed there under the "Authorized OAuth Apps" tab.
  2. Click Zenodo, scroll down to "Organization access" and grant access to the organization you want.
  3. Go to Zenodo's Github settings - https://zenodo.org/account/settings/github/ - scroll down to "GitHub repositories" section, click "sync now", refresh the web page, then your repository should appear.
  4. Flip the switch off to on

A webhook should now have been installed. You can check by going to the setting page for the specific github repo you want to archive, then look under the webhooks section.

Hth.

Thanks so much for sharing!

I was able to fix the problem- the issue for me was that I wasn’t the
organization owner so I asked the owner to try and it got solved.

Thank you, again!

Alistair Miles notifications@github.com于2020年4月28日 周二上午4:46写道:

Just hit this, previously authorized zenodo for github access under my
github user account, but later created a github organisation, and none of
the oganisation's github repos appear in zenodo. Here's how I solved it...

  1. Go to the settings page for my personal github account -
    https://github.com/settings/applications - Zenodo should be listed
    there under the "Authorized OAuth Apps" tab.
  2. Click Zenodo, scroll down to "Organization access" and grant access
    to the organization you want.
  3. Go to Zenodo's Github settings -
    https://zenodo.org/account/settings/github/ - scroll down to "GitHub
    repositories" section, click "sync now", refresh the web page, then your
    repository should appear.
  4. Flip the switch off to on

A webhook should now have been installed. You can check by going to the
setting page for the specific github repo you want to archive, then look
under the webhooks section.

Hth.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zenodo/zenodo/issues/1814#issuecomment-620555444, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGUODB6V3OWJUEQVBC5HHDDRO26ZDANCNFSM4IINEV2A
.

I had the same confusions, fwiw. I was the repository owner, a colleague was a member of the github organization and an admin on the organizational repository we wished to archive with Zenodo. The colleague logged into Zenodo using their Github account but didn't see the organizational repositories. We then had much confusion. As organization owner I went to the third party access but couldn't see a "request" that I could approve. We then wondered if my colleague had to be an organization owner, which seemed a bit heavyweight for just this. Eventually we figured out that my colleague had to create a request for 3rd party access, by going to Github, looking at their 3rd party permissions, clicking on the Zenodo name, then "send request to owners". This was the key github documentation:

https://docs.github.com/en/github/setting-up-and-managing-your-github-user-account/requesting-organization-approval-for-oauth-apps

I was then able to approve that request (as org owner) at Github (after some confusion about why Zenodo needed access to "private data", I figure it's something about webhooks) and my colleague then hit the "Sync now" and was able to see the organizational repository.

Phew :)

Just hit this, previously authorized zenodo for github access under my github user account, but later created a github organisation, and none of the oganisation's github repos appear in zenodo. Here's how I solved it...

  1. Go to the settings page for my personal github account - https://github.com/settings/applications - Zenodo should be listed there under the "Authorized OAuth Apps" tab.
  2. Click Zenodo, scroll down to "Organization access" and grant access to the organization you want.
  3. Go to Zenodo's Github settings - https://zenodo.org/account/settings/github/ - scroll down to "GitHub repositories" section, click "sync now", refresh the web page, then your repository should appear.
  4. Flip the switch off to on

A webhook should now have been installed. You can check by going to the setting page for the specific github repo you want to archive, then look under the webhooks section.

Hth.

Thanks so much! This worked!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

slint picture slint  ·  5Comments

virresh picture virresh  ·  7Comments

christianrickert picture christianrickert  ·  3Comments

CristianCantoro picture CristianCantoro  ·  5Comments

lnielsen picture lnielsen  ·  6Comments