Skip to content
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

Register user? #21

Open
lukeramsden opened this issue May 7, 2017 · 2 comments
Open

Register user? #21

lukeramsden opened this issue May 7, 2017 · 2 comments

Comments

@lukeramsden
Copy link

Could you make an example of registering a user?

@rkusa
Copy link
Owner

rkusa commented May 7, 2017

Hi @lukeramsden, I am sorry to say that I do not have resources to do that. However, if you search for node passport user registration (instead of koa-passport) you should get a lot of examples that are probably not to hard to adapt to Koa/koa-passport.

I'll still keep this open. Maybe someone else has a user registration example to hand.

@mapmeld
Copy link
Contributor

mapmeld commented May 14, 2017

@lukeramsden I have an example on https://github.com/mapmeld/koa-passport-example using MongoDB / Mongoose, but you would need to expand on it to have a local login (especially making sure to store a hashed password, and not the plaintext password)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants