-
-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authorization options on fetch/pull missing #1748
Comments
I'm not 100% sure but I think that username and password/token is an old API for isomorphic-git before 1.0 you should use onAuth as in documentation. Where do you have information to use username and token? |
@jcubic thanks for the quick response, using The only deprecation regarding auth I could find inside the docs is this: https://isomorphic-git.org/docs/en/utils_auth - though that is an entirely different article. |
I think that this page is outdated. This is what I'm using in my project but I use the library in the version 0.x. There is no deprecation of any kind because versions before 1.0 can change at any time and version 1.0 beta was a huge change in comparison to version 0.x. At least this is what I think. |
Hey,
I am using isomorphic-git with Node and Typescript and just wanted to fetch from a private remote. However I noticed, that the API of
fetch
apparently does not reflect the documentation.There are no
username
,token
etc. properties inside the fetch-options object. (https://isomorphic-git.org/docs/en/fetchShould one use
onAuth
instead or how is this supposed to work?Thanks in advance
The text was updated successfully, but these errors were encountered: