Skip to content

Support GitHub Enterprise #268

Description

@bn-d

Currently the host and scheme is hard coded at

let entry_uri = "https://github.com/login/oauth/authorize" in

I would be great if we can add support for GitHub Enterprise Server.

i.e.

let authorize
  ?(scheme="https")
  ?(host="github.com")
  ...
  =
  ...
  Uri.make ~scheme ~host ~path:"login/oauth/access_token" ~query ()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions