ezyang / ghstack

Submit stacked diffs to GitHub on the command line
MIT License
650 stars 54 forks source link

Compatibility with private GHE repos? #162

Closed k1a2d closed 10 months ago

k1a2d commented 1 year ago

Hi. I was trying to get ghstack to work at work. We use github enterprise and the repository is private. So while using ghstack, I was getting connection errors. Is there an easy way to adapt it for non-public repos?

ezyang commented 1 year ago

Yeah, you need to set github_url in your ghstackrc to point to your GHE instance

k1a2d commented 1 year ago

Hmm actually I just saw I already did that, and when I use ghstack, I get the error:

RuntimeError: Couldn't determine repo owner and name from url: git@<redacted>.net:<REPO_NAME>.git
ezyang commented 1 year ago

oh, in GHE, are there top level repos (with no owner?) I don't personally have access to GHE so I can't really test. https://docs.github.com/en/enterprise-cloud@latest/rest/repos/repos?apiVersion=2022-11-28 seems to imply org is required?

k1a2d commented 1 year ago

I will check in more detail. this is for a codebase at my employment. there is a top level repo but i think it should have an owner (not me however), and i'm trying to ghstack from one of the child repos.

k1a2d commented 1 year ago

okay so I tried to hack it a bit to get it to pass get_github_repo_name_with_owner, but then I see a new error in the requests library:

  File "/opt/python3.7/lib/python3.7/site-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.https', port=443): Max retries exceeded with url: //<redacted>.net/<REPO_NAME>/graphql (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fe8cee6f490>: Failed to establish a new connection: [Errno -2] Name or service not known'))

this is a bit outside of my area. I don't know if it's expected for the message to show the URL as //<redacted>.net/<REPO_NAME>/graphql. there's no https: before the // and idk why graphsql is appended to the GHE url

k1a2d commented 1 year ago

to give a bit more details, at the graphql in github_real.py, specifically:

        resp = requests.post(
            self.graphql_endpoint.format(github_url=self.github_url),
            json={"query": query, "variables": kwargs},
            headers=headers,
            proxies=proxies,
            verify=self.verify,
            cert=self.cert,
        )

I printed self.github_url and it's correct so I'm fairly sure the github url part is correct

ezyang commented 1 year ago

can you post the full backtrace

ezyang commented 1 year ago

the ghstack rage would be even better but you may need to redact all cocurrences of the ghe url

k1a2d commented 1 year ago

pasted the backtrace and logs below. though i just saw that ghstack requires python3.8+. is python3.7 a dealbreaker? either way this connector issue may not be a python3.X version issue

/opt/python3.7/lib/python3.7/site-packages/requests/__init__.py:104: RequestsDependencyWarning: urllib3 (1.25.11) or chardet (5.2.0)/charset_normalizer (2.0.7) doesn't match a supported version!
  RequestsDependencyWarning)
ERROR: Fatal exception
Traceback (most recent call last):
  File "/opt/python3.7/lib/python3.7/site-packages/urllib3/connection.py", line 160, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/opt/python3.7/lib/python3.7/site-packages/urllib3/util/connection.py", line 61, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/opt/python3.7/lib64/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/python3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 677, in urlopen
    chunked=chunked,
  File "/opt/python3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 381, in _make_request
    self._validate_conn(conn)
  File "/opt/python3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 978, in _validate_conn
    conn.connect()
  File "/opt/python3.7/lib/python3.7/site-packages/urllib3/connection.py", line 309, in connect
    conn = self._new_conn()
  File "/opt/python3.7/lib/python3.7/site-packages/urllib3/connection.py", line 172, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f4c4b996510>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/python3.7/lib/python3.7/site-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/opt/python3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 727, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/opt/python3.7/lib/python3.7/site-packages/urllib3/util/retry.py", line 446, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.https', port=443): Max retries exceeded with url: //<redacted>.net/<REPO_NAME>/graphql (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4c4b996510>: Failed to establish a new connection: [Errno -2] Name or service not known'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/user/.local/lib/python3.7/site-packages/ghstack/logs.py", line 107, in manager
    yield
  File "/home/user/.local/lib/python3.7/site-packages/ghstack/__main__.py", line 112, in main
    remote_name=conf.remote_name,
  File "/home/user/.local/lib/python3.7/site-packages/ghstack/submit.py", line 152, in main
    remote_name=remote_name,
  File "/home/user/.local/lib/python3.7/site-packages/ghstack/github_utils.py", line 87, in get_github_repo_info
    name=name_with_owner["name"])["data"]["repository"]
  File "/home/user/.local/lib/python3.7/site-packages/ghstack/github_real.py", line 85, in graphql
    cert=self.cert,
  File "/opt/python3.7/lib/python3.7/site-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/opt/python3.7/lib/python3.7/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/opt/python3.7/lib/python3.7/site-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/opt/python3.7/lib/python3.7/site-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/opt/python3.7/lib/python3.7/site-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.https', port=443): Max retries exceeded with url: //<redacted>.net/<REPO_NAME>/graphql (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4c4b996510>: Failed to establish a new connection: [Errno -2] Name or service not known'))

here it is.

also, here's the log from rage:

version: 0.7.1
command: /data/homes/raidb/home/user/.local/bin/ghstack
status: 

config_path = /data/homes/raidb/home/user/.ghstackrc
conf = Config(proxy=None, github_oauth='<GITHUB_OAUTH>', github_username='user', circle_token=None, fbsource_path='/home/user/local/fbsource', github_path='/home/user/local/ghstack-pytorch', default_project_dir='fbcode/caffe2', github_url='https://<redacted>.net/<owner name>/<repo name>', remote_name='origin')
# POST https://api.https://<redacted>.net/<redacted>.net/<owner name>/graphql
Request GraphQL query:

        query ($owner: String!, $name: String!) {
            repository(name: $name, owner: $owner) {
                id
                isFork
                defaultBranchRef {
                    name
                }
            }
        }
Request GraphQL variables:
{
 "owner": "<owner redacted>",
 "name": "<name redacted>"
}
Starting new HTTPS connection (1): api.https:443
ERROR: Fatal exception
Traceback (most recent call last):
  File "/opt/python3.7/lib/python3.7/site-packages/urllib3/connection.py", line 160, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/opt/python3.7/lib/python3.7/site-packages/urllib3/util/connection.py", line 61, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/opt/python3.7/lib64/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/python3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 677, in urlopen
    chunked=chunked,
  File "/opt/python3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 381, in _make_request
    self._validate_conn(conn)
  File "/opt/python3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 978, in _validate_conn
    conn.connect()
  File "/opt/python3.7/lib/python3.7/site-packages/urllib3/connection.py", line 309, in connect
    conn = self._new_conn()
  File "/opt/python3.7/lib/python3.7/site-packages/urllib3/connection.py", line 172, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f1a2e0f11d0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/python3.7/lib/python3.7/site-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/opt/python3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 727, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/opt/python3.7/lib/python3.7/site-packages/urllib3/util/retry.py", line 446, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.https', port=443): Max retries exceeded with url: //<redacted>.net/<REPO_NAME>/graphql (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1a2e0f11d0>: Failed to establish a new connection: [Errno -2] Name or service not known'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/user/.local/lib/python3.7/site-packages/ghstack/logs.py", line 107, in manager
    yield
  File "/home/user/.local/lib/python3.7/site-packages/ghstack/__main__.py", line 112, in main
    remote_name=conf.remote_name,
  File "/home/user/.local/lib/python3.7/site-packages/ghstack/submit.py", line 152, in main
    remote_name=remote_name,
  File "/home/user/.local/lib/python3.7/site-packages/ghstack/github_utils.py", line 87, in get_github_repo_info
    name=name_with_owner["name"])["data"]["repository"]
  File "/home/user/.local/lib/python3.7/site-packages/ghstack/github_real.py", line 85, in graphql
    cert=self.cert,
  File "/opt/python3.7/lib/python3.7/site-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/opt/python3.7/lib/python3.7/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/opt/python3.7/lib/python3.7/site-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/opt/python3.7/lib/python3.7/site-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/opt/python3.7/lib/python3.7/site-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.https', port=443): Max retries exceeded with url: //<redacted>.net/<REPO_NAME>/graphql (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1a2e0f11d0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
ezyang commented 1 year ago

I don't think we did anything egregiously 3.7 breaking, just not testing.

The rage actually makes the problem clear: https://api.https://<redacted>.net/<redacted>.net/<owner name>/graphql

don't put https://api. in your github_url

k1a2d commented 1 year ago

hmm it's not in my github_url in ~/.ghstackrc. I did see however that this is introduced in https://github.com/ezyang/ghstack/blob/master/ghstack/github_real.py#L19-L23

ezyang commented 1 year ago

don't put https:// in your github_url

k1a2d commented 1 year ago

ah i removed it and now get this error.

version: 0.7.1
command: /data/homes/raidb/home/user/.local/bin/ghstack
status: 

config_path = /data/homes/raidb/home/user/.ghstackrc
conf = Config(proxy=None, github_oauth='<GITHUB_OAUTH>', github_username='user', circle_token=None, fbsource_path='/home/user/local/fbsource', github_path='/home/user/local/ghstack-pytorch', default_project_dir='fbcode/caffe2', github_url='<redacted>.net/<repo>', remote_name='origin')
# POST https://<redacted>.net/<owner name>/graphql
Request GraphQL query:

        query ($owner: String!, $name: String!) {
            repository(name: $name, owner: $owner) {
                id
                isFork
                defaultBranchRef {
                    name
                }
            }
        }
Request GraphQL variables:
{
 "owner": "<owner name>",
 "name": "<repo name>"
}
Starting new HTTPS connection (1): <redacted>.net:443
https://<redacted>.net:443 "POST /<owner name>/graphql HTTP/1.1" 302 None
https://<redacted>.net:443 "GET /login?return_to=https%3A%2F%2F<redacted>.net%<owner name>%2F<repo name>%2Fgraphql HTTP/1.1" 200 None
Response status: 200
Response body:

<!DOCTYPE html>
<html lang="en" data-color-mode="auto" data-light-theme="light" data-dark-theme="dark"  data-a11y-animated-images="system">
  <head>
    <meta charset="utf-8">

  <link crossorigin="use-credentials" media="all" rel="stylesheet" href="https://<redacted>.net/assets/light-946902aac6a1.css" /><link crossorigin="use-credentials" media="all" rel="stylesheet" href="https://<redacted>.net/assets/dark-030e28cb8394.css" /><link data-color-theme="dark_dimmed" crossorigin="use-credentials" media="all" rel="stylesheet" data-href="https://<redacted>.net/assets/dark_dimmed-53fac7eeaef0.css" /><link data-color-theme="dark_high_contrast" crossorigin="use-credentials" media="all" rel="stylesheet" data-href="https://<redacted>.net/assets/dark_high_contrast-e7297f24f20e.css" /><link data-color-theme="dark_colorblind" crossorigin="use-credentials" media="all" rel="stylesheet" data-href="https://<redacted>.net/assets/dark_colorblind-2c82e49ee788.css" /><link data-color-theme="light_colorblind" crossorigin="use-credentials" media="all" rel="stylesheet" data-href="https://<redacted>.net/assets/light_colorblind-b3c5f4428be3.css" /><link data-color-theme="light_high_contrast" crossorigin="use-credentials" media="all" rel="stylesheet" data-href="https://<redacted>.net/assets/light_high_contrast-b249b3c5ff73.css" /><link data-color-theme="light_tritanopia" crossorigin="use-credentials" media="all" rel="stylesheet" data-href="https://<redacted>.net/assets/light_tritanopia-413c5e259397.css" /><link data-color-theme="dark_tritanopia" crossorigin="use-credentials" media="all" rel="stylesheet" data-href="https://<redacted>.net/assets/dark_tritanopia-7690b6bac103.css" />

    <link crossorigin="use-credentials" media="all" rel="stylesheet" href="https://<redacted>.net/assets/primer-primitives-fb1d51d1ef66.css" />
    <link crossorigin="use-credentials" media="all" rel="stylesheet" href="https://<redacted>.net/assets/primer-7e8db5e0affc.css" />
    <link crossorigin="use-credentials" media="all" rel="stylesheet" href="https://<redacted>.net/assets/global-87c6246f1760.css" />
    <link crossorigin="use-credentials" media="all" rel="stylesheet" href="https://<redacted>.net/assets/github-1c76916a54fc.css" />

  <script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/wp-runtime-2729bf750a22.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_stacktrace-parser_dist_stack-trace-parser_esm_js-node_modules_github_bro-a4c183-ae93d3fba59c.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/ui_packages_soft-nav_soft-nav_ts-dac2ebce53b5.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/environment-27e06165e415.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_selector-observer_dist_index_esm_js-2646a2c533e3.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_relative-time-element_dist_index_js-99e288659d4f.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_fzy_js_index_js-node_modules_github_markdown-toolbar-element_dist_index_js-e3de700a4c9d.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_delegated-events_dist_index_js-node_modules_github_auto-complete-element-5b3870-ff38694180c6.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_file-attachment-element_dist_index_js-node_modules_github_text-ex-3415a8-7ecc10fb88d0.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_filter-input-element_dist_index_js-node_modules_github_remote-inp-8873b7-5771678648e0.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_primer_view-components_app_components_primer_primer_js-node_modules_gith-3af896-40a10504f425.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/github-elements-69bb836f1a1e.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/element-registry-a1e31de4d6b8.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_lit-html_lit-html_js-9d9fe1859ce5.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_morphdom_dist_morphdom-esm_js-b1fdd7158cf0.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_github_alive-client_dist-bf5aa2-424aa982deef.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_turbo_dist_turbo_es2017-esm_js-ba0e4d5b3207.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_color-convert_index_js-node_modules_github_jtml_lib_index_js-40bf234a19dc.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_scroll-anchoring_dist_scro-52dc4b-e1e33bfc0b7e.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_paste-markdown_dist_index_esm_js-node_modules_github_quote-select-743f1d-1b20d530fbf0.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/app_assets_modules_github_updatable-content_ts-3701ca751755.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/app_assets_modules_github_behaviors_keyboard-shortcuts-helper_ts-app_assets_modules_github_be-f5afdb-fa400a0feb5e.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/app_assets_modules_github_sticky-scroll-into-view_ts-050ad6637d58.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/app_assets_modules_github_behaviors_ajax-error_ts-app_assets_modules_github_behaviors_include-2e2258-7effad8d88d4.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/app_assets_modules_github_behaviors_commenting_edit_ts-app_assets_modules_github_behaviors_ht-83c235-f22ac6b94445.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/app_assets_modules_github_blob-anchor_ts-app_assets_modules_github_filter-sort_ts-app_assets_-e5f169-f198ef1b100c.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/behaviors-e4247e28bbfe.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_delegated-events_dist_index_js-node_modules_github_catalyst_lib_index_js-623425af41e1.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/notifications-global-0104a8043aa4.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_primer_behaviors_dist_esm_dimensions_js-node_modules_delegated-events_di-94a48b-f9e5146929c3.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_virtualized-list_es_index_js-node_modules_github_template-parts_lib_index_js-677582870bfd.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_github_catalyst_lib_index_-0292a40-a29ca2d802d3.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_filter-input-element_dist_index_js-node_modules_github_mini-throt-da0c01-c0f642d5a62b.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/app_assets_modules_github_filter-input_ts-29f73bf93072.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/app_assets_modules_github_ref-selector_ts-0e2b12902d39.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/app_assets_modules_github_details-dialog_ts-app_assets_modules_github_fetch_ts-app_assets_mod-f63cb8-94aff00e3484.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/settings-474fd6ae254c.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_github_memoize_dist_esm_in-687f35-d131f0b6de8e.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/sessions-2638decb9ee5.js"></script>

  <title>Sign in via LDAP · GitHub</title>

  <meta name="route-pattern" content="/login(.:format)">

  <meta name="current-catalog-service-hash" content="0f76536c4604600810540182b2933f67f7b6e382436e725950becccd1c761d20">

  <meta name="request-id" content="5a4c5728-7a33-4539-9047-9ddad1365871" data-turbo-transient="true" /><meta name="html-safe-nonce" content="55a599b99f1dbd3b83b9db965eeb6c183c246a7d09b047499921b8b72eaf0b99" data-turbo-transient="true" />

  <meta name="github-keyboard-shortcuts" content="" data-turbo-transient="true" />

  <meta name="selected-link" value="/login" data-turbo-transient>
  <link rel="assets" href="https://<redacted>.net/">

    <meta name="user-login" content="">

    <meta name="viewport" content="width=device-width">

      <meta name="description" content="GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 330 million projects.">
      <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub">
    <link rel="fluid-icon" href="https://<redacted>.net/fluidicon.png" title="GitHub">
    <meta property="fb:app_id" content="1401488693436528">

      <meta property="og:url" content="https://<redacted>.net">
      <meta property="og:site_name" content="GitHub">
      <meta property="og:title" content="Build software better, together">
      <meta property="og:description" content="GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 330 million projects.">
      <meta property="og:image" content="https://<redacted>.net/images/modules/open_graph/github-logo.png">
      <meta property="og:image:type" content="image/png">
      <meta property="og:image:width" content="1200">
      <meta property="og:image:height" content="1200">
      <meta property="og:image" content="https://<redacted>.net/images/modules/open_graph/github-mark.png">
      <meta property="og:image:type" content="image/png">
      <meta property="og:image:width" content="1200">
      <meta property="og:image:height" content="620">
      <meta property="og:image" content="https://<redacted>.net/images/modules/open_graph/github-octocat.png">
      <meta property="og:image:type" content="image/png">
      <meta property="og:image:width" content="1200">
      <meta property="og:image:height" content="620">

      <meta property="twitter:site" content="github">
      <meta property="twitter:site:id" content="13334762">
      <meta property="twitter:creator" content="github">
      <meta property="twitter:creator:id" content="13334762">
      <meta property="twitter:card" content="summary_large_image">
      <meta property="twitter:title" content="GitHub">
      <meta property="twitter:description" content="GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 330 million projects.">
      <meta property="twitter:image:src" content="https://<redacted>.net/images/modules/open_graph/github-logo.png">
      <meta property="twitter:image:width" content="1200">
      <meta property="twitter:image:height" content="1200">

        <meta name="hostname" content="<redacted>.net">

      <meta name="codemirror-crossorigin-credentials">

      <meta name="robots" content="noindex">

    <meta name="runtime-environment" content="enterprise">
    <meta name="is-private-instance" content="false">

  <meta http-equiv="x-pjax-version" content="f91d95648d1b136003502622a34b87ab35052c9de30da00ef1c5797e35d4f7a0" data-turbo-track="reload">
  <meta http-equiv="x-pjax-csp-version" content="c07e5d772a465aab289f2ea4b5bccf448841735740a297525e88e55908edda23" data-turbo-track="reload">
  <meta http-equiv="x-pjax-css-version" content="3fd806723b8d7d3ea18a20e5467eba81c21e72f04295f95c6f32f9b9dcdbbc29" data-turbo-track="reload">
  <meta http-equiv="x-pjax-js-version" content="80449d919ee6f205a6574853054ef3bc3e658ee87fd86dbdab22bef2dde16356" data-turbo-track="reload">

  <meta name="turbo-cache-control" content="no-preview" data-turbo-transient="">

      <link crossorigin="use-credentials" media="all" rel="stylesheet" href="https://<redacted>.net/assets/github-1c76916a54fc.css" />

    <link rel="canonical" href="https://<redacted>.net/login" data-turbo-transient>
  <meta name="turbo-body-classes" content="logged-out enterprise env-production page-responsive session-authentication">

  <link rel="mask-icon" href="https://<redacted>.net/pinned-octocat.svg" color="#000000">
  <link rel="alternate icon" class="js-site-favicon" type="image/png" href="https://<redacted>.net/favicons/favicon-ent.png">
  <link rel="icon" class="js-site-favicon" type="image/svg+xml" href="https://<redacted>.net/favicons/favicon-ent.svg">

<meta name="theme-color" content="#1e2327">
<meta name="color-scheme" content="light dark" />

  <link rel="manifest" href="/manifest.json" crossOrigin="use-credentials">

  </head>

  <body class="logged-out enterprise env-production page-responsive session-authentication" style="word-wrap: break-word;">
    <div data-turbo-body class="logged-out enterprise env-production page-responsive session-authentication" style="word-wrap: break-word;">

    <div class="position-relative js-header-wrapper ">
      <a href="#start-of-content" class="px-2 py-4 color-bg-accent-emphasis color-fg-on-emphasis show-on-focus js-skip-to-content">Skip to content</a>
      <span data-view-component="true" class="progress-pjax-loader Progress position-fixed width-full">
    <span style="width: 0%;" data-view-component="true" class="Progress-item progress-pjax-loader-bar left-0 top-0 color-bg-accent-emphasis"></span>
</span>      

        <div class="header header-logged-out width-full pt-5 pb-4" role="banner">
  <div class="container clearfix width-full text-center">
      <a class="header-logo" href="https://<redacted>.net/" aria-label="Homepage">
          <img alt="GitHub Enterprise logo" src="https://<redacted>.net/images/modules/enterprise/gh-enterprise-logo.svg" width="204">
      </a>
  </div>
</div>

      <div hidden="hidden" data-view-component="true" class="js-stale-session-flash flash flash-warn mb-3">

        <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert">
    <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path>
</svg>
        <span class="js-stale-session-flash-signed-in" hidden>You signed in with another tab or window. <a href="">Reload</a> to refresh your session.</span>
        <span class="js-stale-session-flash-signed-out" hidden>You signed out in another tab or window. <a href="">Reload</a> to refresh your session.</span>
        <span class="js-stale-session-flash-switched" hidden>You switched accounts on another tab or window. <a href="">Reload</a> to refresh your session.</span>

    <button class="flash-close js-flash-close" type="button" aria-label="Close">
      <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x">
    <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path>
</svg>
    </button>

</div>
    </div>

  <div id="start-of-content" class="show-on-focus"></div>

    <include-fragment class="js-notification-shelf-include-fragment" data-base-src="https://<redacted>.net/notifications/beta/shelf"></include-fragment>

  <div
    class="application-main "
    data-commit-hovercards-enabled
    data-discussion-hovercards-enabled
    data-issue-and-pr-hovercards-enabled
  >
      <main>

  <div class="auth-form px-3" id="login" >

      <input type="hidden" name="ga_id" class="js-octo-ga-id-input">
      <div class="auth-form-header p-0">
        <h1>Sign in via LDAP</h1>
      </div>

      <div id="js-flash-container" data-turbo-replace>

  <template class="js-flash-template">

<div class="flash flash-full   {{ className }}">
  <div class="px-2" >
    <button autofocus class="flash-close js-flash-close" type="button" aria-label="Dismiss this message">
      <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x">
    <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path>
</svg>
    </button>
    <div aria-atomic="true" role="alert" class="js-flash-alert">

      <div>{{ message }}</div>

    </div>
  </div>
</div>
  </template>
</div>

      <div class="flash js-transform-notice" hidden>
        <button class="flash-close js-flash-close" type="button" aria-label="Dismiss this message">
          <svg aria-label="Dismiss" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x">
    <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path>
</svg>
        </button>
      </div>

      <div class="auth-form-body mt-3">

        <!-- '"` --><!-- </textarea></xmp> --></option></form><form data-turbo="false" action="/session" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="kDyqtkSLDnIkFk4UMEbersusMXAR-WWWXTujul32SV_e0tnRCG6n2d63-u46I9_aFxAZrZwVegymEAHEObhCeg" />  <label for="login_field">
    Username
  </label>
  <input type="text" name="login" id="login_field" class="form-control input-block js-login-field" autocapitalize="off" autocorrect="off" autocomplete="username" autofocus="autofocus" />

  <div class="position-relative">
    <label for="password">
      Password
    </label>
    <input type="password" name="password" id="password" class="form-control form-control input-block js-password-field" autocomplete="current-password" />

<input type="hidden" name="webauthn-conditional" value="undefined">
<input type="hidden" class="js-support" name="javascript-support" value="unknown">
<input type="hidden" class="js-webauthn-support" name="webauthn-support" value="unknown">
<input type="hidden" class="js-webauthn-iuvpaa-support" name="webauthn-iuvpaa-support" value="unknown">
<input type="hidden" name="return_to" id="return_to" value="https://<redacted>.net/<owner name>/graphql" autocomplete="off" class="form-control" />
<input type="hidden" name="allow_signup" id="allow_signup" autocomplete="off" class="form-control" />
<input type="hidden" name="client_id" id="client_id" autocomplete="off" class="form-control" />
<input type="hidden" name="integration" id="integration" autocomplete="off" class="form-control" />

    <input type="submit" name="commit" value="Sign in" class="btn btn-primary btn-block js-sign-in-button" data-disable-with="Signing in…" data-signin-label="Sign in" data-sso-label="Sign in with your identity provider" development="false" />

  </div>
</form>  <include-fragment  src="/u2f/login_fragment"></include-fragment>

      </div>

  </div>

      </main>
  </div>

          <div class="footer container-lg p-responsive py-6 mt-6 f6" role="contentinfo">
    <ul class="list-style-none d-flex flex-justify-center">
        <li><a href="https://<USERNAME>:<PASSWORD>@3.10">Help</a></li>
            <li class="ml-3"><a href="mailto:<redacted>@<redacted>.com">Support</a></li>
    </ul>
  </div>

  <div id="ajax-error-message" class="ajax-error-message flash flash-error" hidden>
    <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert">
    <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path>
</svg>
    <button type="button" class="flash-close js-ajax-error-dismiss" aria-label="Dismiss error">
      <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x">
    <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path>
</svg>
    </button>
    You can’t perform that action at this time.
  </div>

    <template id="site-details-dialog">
  <details class="details-reset details-overlay details-overlay-dark lh-default color-fg-default hx_rsm" open>
    <summary role="button" aria-label="Close dialog"></summary>
    <details-dialog class="Box Box--overlay d-flex flex-column anim-fade-in fast hx_rsm-dialog hx_rsm-modal">
      <button class="Box-btn-octicon m-0 btn-octicon position-absolute right-0 top-0" type="button" aria-label="Close dialog" data-close-dialog>
        <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x">
    <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path>
</svg>
      </button>
      <div class="octocat-spinner my-6 js-details-dialog-spinner"></div>
    </details-dialog>
  </details>
</template>

    <div class="Popover js-hovercard-content position-absolute" style="display: none; outline: none;" tabindex="0">
  <div class="Popover-message Popover-message--bottom-left Popover-message--large Box color-shadow-large" style="width:360px;">
  </div>
</div>

    <template id="snippet-clipboard-copy-button">
  <div class="zeroclipboard-container position-absolute right-0 top-0">
    <clipboard-copy aria-label="Copy" class="ClipboardButton btn js-clipboard-copy m-2 p-0 tooltipped-no-delay" data-copy-feedback="Copied!" data-tooltip-direction="w">
      <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy js-clipboard-copy-icon m-2">
    <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path>
</svg>
      <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check js-clipboard-check-icon color-fg-success d-none m-2">
    <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path>
</svg>
    </clipboard-copy>
  </div>
</template>
<template id="snippet-clipboard-copy-button-unpositioned">
  <div class="zeroclipboard-container">
    <clipboard-copy aria-label="Copy" class="ClipboardButton btn btn-invisible js-clipboard-copy m-2 p-0 tooltipped-no-delay d-flex flex-justify-center flex-items-center" data-copy-feedback="Copied!" data-tooltip-direction="w">
      <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy js-clipboard-copy-icon">
    <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path>
</svg>
      <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check js-clipboard-check-icon color-fg-success d-none">
    <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path>
</svg>
    </clipboard-copy>
  </div>
</template>

    </div>

    <div id="js-global-screen-reader-notice" class="sr-only" aria-live="polite" ></div>
  </body>
</html>

ERROR: Fatal exception
Traceback (most recent call last):
  File "/opt/python3.7/lib/python3.7/site-packages/requests/models.py", line 910, in json
    return complexjson.loads(self.text, **kwargs)
  File "/opt/python3.7/lib64/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/opt/python3.7/lib64/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/opt/python3.7/lib64/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 7 column 1 (char 6)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/user/.local/lib/python3.7/site-packages/ghstack/logs.py", line 107, in manager
    yield
  File "/home/user/.local/lib/python3.7/site-packages/ghstack/__main__.py", line 112, in main
    remote_name=conf.remote_name,
  File "/home/user/.local/lib/python3.7/site-packages/ghstack/submit.py", line 152, in main
    remote_name=remote_name,
  File "/home/user/.local/lib/python3.7/site-packages/ghstack/github_utils.py", line 87, in get_github_repo_info
    name=name_with_owner["name"])["data"]["repository"]
  File "/home/user/.local/lib/python3.7/site-packages/ghstack/github_real.py", line 91, in graphql
    r = resp.json()
  File "/opt/python3.7/lib/python3.7/site-packages/requests/models.py", line 917, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: [Errno Expecting value] 

<!DOCTYPE html>
<html lang="en" data-color-mode="auto" data-light-theme="light" data-dark-theme="dark"  data-a11y-animated-images="system">
  <head>
    <meta charset="utf-8">

  <link crossorigin="use-credentials" media="all" rel="stylesheet" href="https://<redacted>.net/assets/light-946902aac6a1.css" /><link crossorigin="use-credentials" media="all" rel="stylesheet" href="https://<redacted>.net/assets/dark-030e28cb8394.css" /><link data-color-theme="dark_dimmed" crossorigin="use-credentials" media="all" rel="stylesheet" data-href="https://<redacted>.net/assets/dark_dimmed-53fac7eeaef0.css" /><link data-color-theme="dark_high_contrast" crossorigin="use-credentials" media="all" rel="stylesheet" data-href="https://<redacted>.net/assets/dark_high_contrast-e7297f24f20e.css" /><link data-color-theme="dark_colorblind" crossorigin="use-credentials" media="all" rel="stylesheet" data-href="https://<redacted>.net/assets/dark_colorblind-2c82e49ee788.css" /><link data-color-theme="light_colorblind" crossorigin="use-credentials" media="all" rel="stylesheet" data-href="https://<redacted>.net/assets/light_colorblind-b3c5f4428be3.css" /><link data-color-theme="light_high_contrast" crossorigin="use-credentials" media="all" rel="stylesheet" data-href="https://<redacted>.net/assets/light_high_contrast-b249b3c5ff73.css" /><link data-color-theme="light_tritanopia" crossorigin="use-credentials" media="all" rel="stylesheet" data-href="https://<redacted>.net/assets/light_tritanopia-413c5e259397.css" /><link data-color-theme="dark_tritanopia" crossorigin="use-credentials" media="all" rel="stylesheet" data-href="https://<redacted>.net/assets/dark_tritanopia-7690b6bac103.css" />

    <link crossorigin="use-credentials" media="all" rel="stylesheet" href="https://<redacted>.net/assets/primer-primitives-fb1d51d1ef66.css" />
    <link crossorigin="use-credentials" media="all" rel="stylesheet" href="https://<redacted>.net/assets/primer-7e8db5e0affc.css" />
    <link crossorigin="use-credentials" media="all" rel="stylesheet" href="https://<redacted>.net/assets/global-87c6246f1760.css" />
    <link crossorigin="use-credentials" media="all" rel="stylesheet" href="https://<redacted>.net/assets/github-1c76916a54fc.css" />

  <script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/wp-runtime-2729bf750a22.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_stacktrace-parser_dist_stack-trace-parser_esm_js-node_modules_github_bro-a4c183-ae93d3fba59c.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/ui_packages_soft-nav_soft-nav_ts-dac2ebce53b5.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/environment-27e06165e415.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_selector-observer_dist_index_esm_js-2646a2c533e3.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_relative-time-element_dist_index_js-99e288659d4f.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_fzy_js_index_js-node_modules_github_markdown-toolbar-element_dist_index_js-e3de700a4c9d.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_delegated-events_dist_index_js-node_modules_github_auto-complete-element-5b3870-ff38694180c6.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_file-attachment-element_dist_index_js-node_modules_github_text-ex-3415a8-7ecc10fb88d0.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_filter-input-element_dist_index_js-node_modules_github_remote-inp-8873b7-5771678648e0.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_primer_view-components_app_components_primer_primer_js-node_modules_gith-3af896-40a10504f425.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/github-elements-69bb836f1a1e.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/element-registry-a1e31de4d6b8.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_lit-html_lit-html_js-9d9fe1859ce5.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_morphdom_dist_morphdom-esm_js-b1fdd7158cf0.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_github_alive-client_dist-bf5aa2-424aa982deef.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_turbo_dist_turbo_es2017-esm_js-ba0e4d5b3207.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_color-convert_index_js-node_modules_github_jtml_lib_index_js-40bf234a19dc.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_scroll-anchoring_dist_scro-52dc4b-e1e33bfc0b7e.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_paste-markdown_dist_index_esm_js-node_modules_github_quote-select-743f1d-1b20d530fbf0.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/app_assets_modules_github_updatable-content_ts-3701ca751755.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/app_assets_modules_github_behaviors_keyboard-shortcuts-helper_ts-app_assets_modules_github_be-f5afdb-fa400a0feb5e.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/app_assets_modules_github_sticky-scroll-into-view_ts-050ad6637d58.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/app_assets_modules_github_behaviors_ajax-error_ts-app_assets_modules_github_behaviors_include-2e2258-7effad8d88d4.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/app_assets_modules_github_behaviors_commenting_edit_ts-app_assets_modules_github_behaviors_ht-83c235-f22ac6b94445.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/app_assets_modules_github_blob-anchor_ts-app_assets_modules_github_filter-sort_ts-app_assets_-e5f169-f198ef1b100c.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/behaviors-e4247e28bbfe.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_delegated-events_dist_index_js-node_modules_github_catalyst_lib_index_js-623425af41e1.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/notifications-global-0104a8043aa4.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_primer_behaviors_dist_esm_dimensions_js-node_modules_delegated-events_di-94a48b-f9e5146929c3.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_virtualized-list_es_index_js-node_modules_github_template-parts_lib_index_js-677582870bfd.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_github_catalyst_lib_index_-0292a40-a29ca2d802d3.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_filter-input-element_dist_index_js-node_modules_github_mini-throt-da0c01-c0f642d5a62b.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/app_assets_modules_github_filter-input_ts-29f73bf93072.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/app_assets_modules_github_ref-selector_ts-0e2b12902d39.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/app_assets_modules_github_details-dialog_ts-app_assets_modules_github_fetch_ts-app_assets_mod-f63cb8-94aff00e3484.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/settings-474fd6ae254c.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_github_memoize_dist_esm_in-687f35-d131f0b6de8e.js"></script>
<script crossorigin="use-credentials" defer="defer" type="application/javascript" src="https://<redacted>.net/assets/sessions-2638decb9ee5.js"></script>

  <title>Sign in via LDAP · GitHub</title>

  <meta name="route-pattern" content="/login(.:format)">

  <meta name="current-catalog-service-hash" content="0f76536c4604600810540182b2933f67f7b6e382436e725950becccd1c761d20">

  <meta name="request-id" content="5a4c5728-7a33-4539-9047-9ddad1365871" data-turbo-transient="true" /><meta name="html-safe-nonce" content="55a599b99f1dbd3b83b9db965eeb6c183c246a7d09b047499921b8b72eaf0b99" data-turbo-transient="true" />

  <meta name="github-keyboard-shortcuts" content="" data-turbo-transient="true" />

  <meta name="selected-link" value="/login" data-turbo-transient>
  <link rel="assets" href="https://<redacted>.net/">

    <meta name="user-login" content="">

    <meta name="viewport" content="width=device-width">

      <meta name="description" content="GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 330 million projects.">
      <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub">
    <link rel="fluid-icon" href="https://<redacted>.net/fluidicon.png" title="GitHub">
    <meta property="fb:app_id" content="1401488693436528">

      <meta property="og:url" content="https://<redacted>.net">
      <meta property="og:site_name" content="GitHub">
      <meta property="og:title" content="Build software better, together">
      <meta property="og:description" content="GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 330 million projects.">
      <meta property="og:image" content="https://<redacted>.net/images/modules/open_graph/github-logo.png">
      <meta property="og:image:type" content="image/png">
      <meta property="og:image:width" content="1200">
      <meta property="og:image:height" content="1200">
      <meta property="og:image" content="https://<redacted>.net/images/modules/open_graph/github-mark.png">
      <meta property="og:image:type" content="image/png">
      <meta property="og:image:width" content="1200">
      <meta property="og:image:height" content="620">
      <meta property="og:image" content="https://<redacted>.net/images/modules/open_graph/github-octocat.png">
      <meta property="og:image:type" content="image/png">
      <meta property="og:image:width" content="1200">
      <meta property="og:image:height" content="620">

      <meta property="twitter:site" content="github">
      <meta property="twitter:site:id" content="13334762">
      <meta property="twitter:creator" content="github">
      <meta property="twitter:creator:id" content="13334762">
      <meta property="twitter:card" content="summary_large_image">
      <meta property="twitter:title" content="GitHub">
      <meta property="twitter:description" content="GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 330 million projects.">
      <meta property="twitter:image:src" content="https://<redacted>.net/images/modules/open_graph/github-logo.png">
      <meta property="twitter:image:width" content="1200">
      <meta property="twitter:image:height" content="1200">

        <meta name="hostname" content="<redacted>.net">

      <meta name="codemirror-crossorigin-credentials">

      <meta name="robots" content="noindex">

    <meta name="runtime-environment" content="enterprise">
    <meta name="is-private-instance" content="false">

  <meta http-equiv="x-pjax-version" content="f91d95648d1b136003502622a34b87ab35052c9de30da00ef1c5797e35d4f7a0" data-turbo-track="reload">
  <meta http-equiv="x-pjax-csp-version" content="c07e5d772a465aab289f2ea4b5bccf448841735740a297525e88e55908edda23" data-turbo-track="reload">
  <meta http-equiv="x-pjax-css-version" content="3fd806723b8d7d3ea18a20e5467eba81c21e72f04295f95c6f32f9b9dcdbbc29" data-turbo-track="reload">
  <meta http-equiv="x-pjax-js-version" content="80449d919ee6f205a6574853054ef3bc3e658ee87fd86dbdab22bef2dde16356" data-turbo-track="reload">

  <meta name="turbo-cache-control" content="no-preview" data-turbo-transient="">

      <link crossorigin="use-credentials" media="all" rel="stylesheet" href="https://<redacted>.net/assets/github-1c76916a54fc.css" />

    <link rel="canonical" href="https://<redacted>.net/login" data-turbo-transient>
  <meta name="turbo-body-classes" content="logged-out enterprise env-production page-responsive session-authentication">

  <link rel="mask-icon" href="https://<redacted>.net/pinned-octocat.svg" color="#000000">
  <link rel="alternate icon" class="js-site-favicon" type="image/png" href="https://<redacted>.net/favicons/favicon-ent.png">
  <link rel="icon" class="js-site-favicon" type="image/svg+xml" href="https://<redacted>.net/favicons/favicon-ent.svg">

<meta name="theme-color" content="#1e2327">
<meta name="color-scheme" content="light dark" />

  <link rel="manifest" href="/manifest.json" crossOrigin="use-credentials">

  </head>

  <body class="logged-out enterprise env-production page-responsive session-authentication" style="word-wrap: break-word;">
    <div data-turbo-body class="logged-out enterprise env-production page-responsive session-authentication" style="word-wrap: break-word;">

    <div class="position-relative js-header-wrapper ">
      <a href="#start-of-content" class="px-2 py-4 color-bg-accent-emphasis color-fg-on-emphasis show-on-focus js-skip-to-content">Skip to content</a>
      <span data-view-component="true" class="progress-pjax-loader Progress position-fixed width-full">
    <span style="width: 0%;" data-view-component="true" class="Progress-item progress-pjax-loader-bar left-0 top-0 color-bg-accent-emphasis"></span>
</span>      

        <div class="header header-logged-out width-full pt-5 pb-4" role="banner">
  <div class="container clearfix width-full text-center">
      <a class="header-logo" href="https://<redacted>.net/" aria-label="Homepage">
          <img alt="GitHub Enterprise logo" src="https://<redacted>.net/images/modules/enterprise/gh-enterprise-logo.svg" width="204">
      </a>
  </div>
</div>

      <div hidden="hidden" data-view-component="true" class="js-stale-session-flash flash flash-warn mb-3">

        <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert">
    <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path>
</svg>
        <span class="js-stale-session-flash-signed-in" hidden>You signed in with another tab or window. <a href="">Reload</a> to refresh your session.</span>
        <span class="js-stale-session-flash-signed-out" hidden>You signed out in another tab or window. <a href="">Reload</a> to refresh your session.</span>
        <span class="js-stale-session-flash-switched" hidden>You switched accounts on another tab or window. <a href="">Reload</a> to refresh your session.</span>

    <button class="flash-close js-flash-close" type="button" aria-label="Close">
      <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x">
    <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path>
</svg>
    </button>

</div>
    </div>

  <div id="start-of-content" class="show-on-focus"></div>

    <include-fragment class="js-notification-shelf-include-fragment" data-base-src="https://<redacted>.net/notifications/beta/shelf"></include-fragment>

  <div
    class="application-main "
    data-commit-hovercards-enabled
    data-discussion-hovercards-enabled
    data-issue-and-pr-hovercards-enabled
  >
      <main>

  <div class="auth-form px-3" id="login" >

      <input type="hidden" name="ga_id" class="js-octo-ga-id-input">
      <div class="auth-form-header p-0">
        <h1>Sign in via LDAP</h1>
      </div>

      <div id="js-flash-container" data-turbo-replace>

  <template class="js-flash-template">

<div class="flash flash-full   {{ className }}">
  <div class="px-2" >
    <button autofocus class="flash-close js-flash-close" type="button" aria-label="Dismiss this message">
      <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x">
    <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path>
</svg>
    </button>
    <div aria-atomic="true" role="alert" class="js-flash-alert">

      <div>{{ message }}</div>

    </div>
  </div>
</div>
  </template>
</div>

      <div class="flash js-transform-notice" hidden>
        <button class="flash-close js-flash-close" type="button" aria-label="Dismiss this message">
          <svg aria-label="Dismiss" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x">
    <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path>
</svg>
        </button>
      </div>

      <div class="auth-form-body mt-3">

        <!-- '"` --><!-- </textarea></xmp> --></option></form><form data-turbo="false" action="/session" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="kDyqtkSLDnIkFk4UMEbersusMXAR-WWWXTujul32SV_e0tnRCG6n2d63-u46I9_aFxAZrZwVegymEAHEObhCeg" />  <label for="login_field">
    Username
  </label>
  <input type="text" name="login" id="login_field" class="form-control input-block js-login-field" autocapitalize="off" autocorrect="off" autocomplete="username" autofocus="autofocus" />

  <div class="position-relative">
    <label for="password">
      Password
    </label>
    <input type="password" name="password" id="password" class="form-control form-control input-block js-password-field" autocomplete="current-password" />

<input type="hidden" name="webauthn-conditional" value="undefined">
<input type="hidden" class="js-support" name="javascript-support" value="unknown">
<input type="hidden" class="js-webauthn-support" name="webauthn-support" value="unknown">
<input type="hidden" class="js-webauthn-iuvpaa-support" name="webauthn-iuvpaa-support" value="unknown">
<input type="hidden" name="return_to" id="return_to" value="https://<redacted>.net/<owner name>/graphql" autocomplete="off" class="form-control" />
<input type="hidden" name="allow_signup" id="allow_signup" autocomplete="off" class="form-control" />
<input type="hidden" name="client_id" id="client_id" autocomplete="off" class="form-control" />
<input type="hidden" name="integration" id="integration" autocomplete="off" class="form-control" />

    <input type="submit" name="commit" value="Sign in" class="btn btn-primary btn-block js-sign-in-button" data-disable-with="Signing in…" data-signin-label="Sign in" data-sso-label="Sign in with your identity provider" development="false" />

  </div>
</form>  <include-fragment  src="/u2f/login_fragment"></include-fragment>

      </div>

  </div>

      </main>
  </div>

          <div class="footer container-lg p-responsive py-6 mt-6 f6" role="contentinfo">
    <ul class="list-style-none d-flex flex-justify-center">
        <li><a href="https://<USERNAME>:<PASSWORD>@3.10">Help</a></li>
            <li class="ml-3"><a href="mailto:<redacted>@<redacted>.com">Support</a></li>
    </ul>
  </div>

  <div id="ajax-error-message" class="ajax-error-message flash flash-error" hidden>
    <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert">
    <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path>
</svg>
    <button type="button" class="flash-close js-ajax-error-dismiss" aria-label="Dismiss error">
      <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x">
    <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path>
</svg>
    </button>
    You can’t perform that action at this time.
  </div>

    <template id="site-details-dialog">
  <details class="details-reset details-overlay details-overlay-dark lh-default color-fg-default hx_rsm" open>
    <summary role="button" aria-label="Close dialog"></summary>
    <details-dialog class="Box Box--overlay d-flex flex-column anim-fade-in fast hx_rsm-dialog hx_rsm-modal">
      <button class="Box-btn-octicon m-0 btn-octicon position-absolute right-0 top-0" type="button" aria-label="Close dialog" data-close-dialog>
        <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x">
    <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path>
</svg>
      </button>
      <div class="octocat-spinner my-6 js-details-dialog-spinner"></div>
    </details-dialog>
  </details>
</template>

    <div class="Popover js-hovercard-content position-absolute" style="display: none; outline: none;" tabindex="0">
  <div class="Popover-message Popover-message--bottom-left Popover-message--large Box color-shadow-large" style="width:360px;">
  </div>
</div>

    <template id="snippet-clipboard-copy-button">
  <div class="zeroclipboard-container position-absolute right-0 top-0">
    <clipboard-copy aria-label="Copy" class="ClipboardButton btn js-clipboard-copy m-2 p-0 tooltipped-no-delay" data-copy-feedback="Copied!" data-tooltip-direction="w">
      <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy js-clipboard-copy-icon m-2">
    <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path>
</svg>
      <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check js-clipboard-check-icon color-fg-success d-none m-2">
    <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path>
</svg>
    </clipboard-copy>
  </div>
</template>
<template id="snippet-clipboard-copy-button-unpositioned">
  <div class="zeroclipboard-container">
    <clipboard-copy aria-label="Copy" class="ClipboardButton btn btn-invisible js-clipboard-copy m-2 p-0 tooltipped-no-delay d-flex flex-justify-center flex-items-center" data-copy-feedback="Copied!" data-tooltip-direction="w">
      <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy js-clipboard-copy-icon">
    <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path>
</svg>
      <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check js-clipboard-check-icon color-fg-success d-none">
    <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path>
</svg>
    </clipboard-copy>
  </div>
</template>

    </div>

    <div id="js-global-screen-reader-notice" class="sr-only" aria-live="polite" ></div>
  </body>
</html>

: 6
ezyang commented 1 year ago

yeahhh... you need to somehow auth to github, if a PAT isn't enough and there's some ldap thing, ghstack isn't going to know how to deal with that lol

k1a2d commented 1 year ago

is it substantial work to get ghstack working with LDAP?

ezyang commented 1 year ago

it's probably not hard, but I'm the wrong person to do it, given that I don't have access to your GHE setup lol