meeks91 / nodejs_oauth2example Goto Github PK
View Code? Open in Web Editor NEWAn example mySql implementation of the node-oauth2-server library
An example mySql implementation of the node-oauth2-server library
Using SHA for password hashing, no salt, leaking whether user is registered or not, no account verification (eg via email), no ability to reset passwords
Since this application is a starter for an application about implementing OAuth providers, I'm concerned about how this could cause huge issues if someone without much security knowledge used it as-is on their oauth provider project.
DO NOT USE THIS REPO
There are many issues with callbacks being used instead of promises. There's syntax errors too. Not ES6 compatible.
Please add details to this file, mainly in terms of flow of execution. Right now it is quite difficult to understand with so many callback functions.
I am new to Node JS and GitHub. I found your example very enlightening. I hope to tailor this for my needs but wanted to report a problem I had saving a token using your code.
I had to make the following two changes:
I haven't examined this much so I am not certain if this is the correct fix.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.