Comments (9)
I'm glad to see you're planning on supporting this. Do you have an estimate of when it'll be ready(days, weeks, months)?
from ooth.
looking forward to this too. i am still not there yet to begin contributing but i will put my hand up to help out when i can.
from ooth.
Hey guys, thanks for writing. It definitely helps to hear that people want a feature to motivate me implementing it. I'll try to get it done within this or next week.
By the way, since I'd like to get a feel as to whether anyone other than me is actually using ooth, so if I may ask: are you using it? Have you tried it out? How did you hear about it? What are your general impressions?
from ooth.
I haven't tried it yet. I'm actually waiting on Google(or Facebook) authentication in order to use it because I've stopped using password authentication after being convinced by a few different sources that it's obsolete. I believe I found out about ooth by just searching Medium for "javascript authentication" or something similar a few months ago and reading your ooth article.
Although I haven't used it yet, I did look at most of the source code in this repo to try to get a feel for how it all works and fits together. I was impressed with how clean it all is.
It may help if I tell you my use case... I'm working on a text adventure game with a friend who is not a programmer(he's a writer) so I built a world editor for him to use. We're collaborating remotely so I want to just put the editor online where we can both use it, but I don't want anyone who comes across the site to go deleting our whole world lol. So I just basically want to whitelist 2 accounts using Google or Facebook authentication and otherwise not allow registration.
Also, on an unrelated note, I noticed you use GraphQL and Next.js together.. you may want to check out my babel-plugin, which allows you to use .gql/.graphql files with Next.js.
from ooth.
as for me, i am personally working through implementing auth with passportjs right now and facing some difficulty with all the configuration (even though this is not my first time with passportjs.. i just got rusty). I do come from the Meteor world so thats why i like the concept of ooth so much but being honest i havent really tried it yet (i last had that node version issue, which is now moot since i upgraded to node 8). I will try it tomorrow. regardless you should do what makes you happy at this early stage in this project as you will def be the #1 user of it
from ooth.
from ooth.
@wmertens your observation is correct, though Passport.js can actually help with the last step (where the server verifies and logs you in). You just have to pick the right package (i.e. not the one that does the whole oauth process). See https://github.com/jmreyes/passport-google-id-token for google, or https://github.com/drudge/passport-facebook-token for facebook. I used these two in ooth-google and ooth-facebook respectively.
from ooth.
Implemented as a package here: https://github.com/nmaro/ooth/tree/master/packages/ooth-google
Example server-side usage here: https://github.com/nmaro/staart/blob/master/examples/staart/server/ooth.js
Example client-side usage here: https://github.com/nmaro/staart/blob/master/packages/staart/src/components/login-google.js
Working live example: staart.nmr.io/login
from ooth.
from ooth.
Related Issues (20)
- This is not defined. It's defined above in another scope. I can do a pull request if you want me to... HOT 1
- Typescript HOT 3
- ooth-local-emailer url parameter HOT 1
- local-plugin: remember me HOT 3
- TypeError: Ooth is not a constructor HOT 4
- Accessing users' roles through withUser HOC HOT 1
- how to get ooth integrated and deployed in a kubernetes cluster? HOT 6
- prisma backend? HOT 2
- [Backend] Prisma Integration as alternative to mongodb HOT 10
- Passworless login using Twillio HOT 1
- Enhance ooth Documentation
- React Native error "Can’t Find Variable Self" when import { OothClient } from 'ooth-client' HOT 1
- Capcha strategy
- TypeError: ooth.usesSession is not a function
- User serialization / deserialization
- Profile on registration HOT 1
- Ooth Client headers
- oothJwt and reset password
- Is this project still maintained? HOT 1
- Wildcard Sessions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ooth.