Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Can't add pull requests widget for organization private repo #150

Closed

Description

Dev Home version

0.137.141.0

Windows build number

10.0.22621.1702

Other software

OS Build Version: 10.0.22621.1702.amd64fre.ni_release.220506-1250
.NET Version: .NET 6.0.16

Steps to reproduce the bug

Add widget, pull requests, then enter the url to an organization's private repo and click the arrow

Expected result

Adding is blocked by the organization's oauth policy, and the requests appears in the GitHub org's oauth policy page to be approved.

Actual result

Adding is blocked by the organization's oauth policy, but there is no request to be approved so no way to unblock this.

Included System Information

CPU: 12th Gen Intel(R) Core(TM) i7-12700H
Physical Memory: 63.68GB (44.49GB free)
Processor Architecture: x64

Included Extensions Information

Extensions:
Microsoft.Windows.DevHome_0.137.141.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHomeGitHubExtension_0.137.141.0_x64__8wekyb3d8bbwe

Activity

  1. added
    Issue-Bug
    on May 24, 2023
  2. added
    Needs-Triage
    on May 24, 2023
  3. asklar commented on May 24, 2023

    @asklar
    Member

    Tristan Labelle (@tristanlabelle) an organization admin must add/approve the github extension

  4. patHyatt commented on May 25, 2023

    @patHyatt

    How is the extension's request for approval generated?
    I do not see a OAuth app request in my organization's settings for it.

  5. vineeththomasalex commented on Jun 15, 2023

    @vineeththomasalex
    Contributor

    Generating the Request

    https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-membership-in-organizations/requesting-organization-approval-for-oauth-apps

    Any user who has already Authorized the Dev Home GitHub Extension app as below can request access to any Organization they are part of.
    image

    The user can go to Settings>Applications (https://github.com/settings/applications) and navigate to the Dev Home GitHub Extension app.
    Under "Organization access", the request can be made.
    image

    Approving the Request

    The organization's settings page has an OAuth Application Policy page.
    image

    This shows the list of approved OAuth apps and new access requests show up here. This is only visible to the org admins.
    image

    Dev Home GitHub Extension should be granted access by the org admins.
    image

    Replace ORG_NAME in the link here to navigate directly to the OAuth App settings page. https://github.com/organizations/_ORG_NAME_/settings/oauth_application_policy

    If you are an org admin, and this does not show up in your Org settings page, that is unexpected. It might be a GitHub.com problem. However, please re-open this issue in that case to keep track of it.

  6. added
    Issue-Question
    Resolution-Answered
    and removed
    Needs-Triage
    Issue-Bug
    on Jun 20, 2023
  7. krschau commented on Jun 21, 2023

    @krschau
    Collaborator
  8. added
    Area-Account-Sign-In
    and removed on Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Account-Sign-InIssue-QuestionResolution-Answered

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions