Authentication
See original GitHub issueI see that you include authentication, and upon passing the following object to the Node Git Server constructor, my requests both with and without a password are not requiring the password.
Here’s what my object looks like. Let me know if I am just doing it wrong:
const Options = {
autoCreate: false,
repos: {
reponame: {
username: 'myUsername',
password: 'myPassword'
}
}
}
const Git = new Server('./repos', Options)
I also have listeners for a few events currently.
Git.on('push', (push) => {
console.log('push ' + push.repo + '/' + push.commit
+ ' (' + push.branch + ')'
);
push.accept();
})
Git.on('fetch', (fetch) => {
console.log(fetch)
console.log('fetch ' + fetch.commit);
fetch.accept();
})
I’ve also got the following to actually start this…
Git.listen(Port, () => {
app.log.info('Git Services are running.')
})
What am I doing wrong, here? I see where it should be telling me I am unauthorized, however, it does not do so.
Issue Analytics
- State:
- Created 6 years ago
- Comments:26 (13 by maintainers)
Top Results From Across the Web
Authentication - Wikipedia
Authentication (from Greek: αὐθεντικός authentikos, "real, genuine", from αὐθέντης authentes, "author") is the act of proving an assertion, such as the ...
Read more >Authentication: Definition, Types, Uses & More | StrongDM
Authentication is the process of verifying a user or device before allowing access to a system or resources. In other words, authentication ......
Read more >What is Authentication? Definition and uses - Auth0
Authentication is a term that refers to the process of proving that some fact or some document is genuine. In computer science, this...
Read more >What is Authentication? Definition of ... - The Economic Times
Definition: Authentication is the process of recognizing a user's identity. It is the mechanism of associating an incoming request with a set of...
Read more >Understanding Authentication, Authorization, and Encryption
Authentication · Authentication is used by a server when the server needs to know exactly who is accessing their information or site. ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@gabrielcsapo It sounds like this will definitely make authentication so much easier. Thanks for your hard work on this!
I’ll try to think about names.