nickredmark / staart

A starter library for node projects with user accounts.
MIT License
313 stars 39 forks source link

Associate new login method #9

Closed adcooley closed 6 years ago

adcooley commented 7 years ago

Would love to have examples included for associating a new login method with an existing account.

Basically, on the Account page while logged in, the Facebook component would have "Link with Facebook", and same for Google, etc

nickredmark commented 7 years ago

Sounds good

nickredmark commented 6 years ago

This needs an extension of ooth, working on that.

nickredmark commented 6 years ago

The staart accounts page now allows one to connect username/password, facebook and google strategies while logged in.

Live example is http://staart.nmr.io/account.

Relevant components are:

https://github.com/nmaro/staart/blob/master/packages/staart/src/components/account-facebook.js https://github.com/nmaro/staart/blob/master/packages/staart/src/components/account-google.js https://github.com/nmaro/staart/blob/master/packages/staart/src/components/account-local.js

adcooley commented 6 years ago

Awesome, thank you!