accounts-js / accounts

Fullstack authentication and accounts-management for Javascript.
https://www.accountsjs.com/
MIT License
1.5k stars 141 forks source link

Need a minimal examples of Oauth and federation #875

Open LucienLee opened 4 years ago

LucienLee commented 4 years ago

Hi, I found this package from Graphql Module community. It looks neat and cool. However, the document is not well-prepared and neither for example when I have check issues and examples.

Could anyone can give me some hints or minimal example of:

agustif commented 4 years ago

Hello @LucienLee there’s a PR by @nsine with a minimal working example of google-oauth. I made also a facebook one base off that. We’re still very much working in this, as it’s not quite ready just yet. But keep an eye for future releases as Im sure we will make it soin enough. If you are on a hurry and would like to see either example as is let me know and I can provide links to Pr’s / repo

tennox commented 4 years ago

@agustif Yes, I'd love to see examples of OAuth use - I want to start using it and I'm ready for a bit of patchwork :sweat_smile:

nsine commented 4 years ago

hey @TeNNoX you can find some very draft version of example in this PR 🙂 https://github.com/accounts-js/accounts/pull/961

tennox commented 4 years ago

I made it! :sunglasses:

Accounts-JS OAuth Demo

Would you fancy it if we would write the basic docs for OAuth?

If so, what would be your requirements / tips?

I also thought about contributing my fullstack example - but it would be a bit more work I guess.

pradel commented 4 years ago

@TeNNoX any help is welcome for the OAuth docs, since they are non-existent for now, I think you can take a look at the graphql / password docs for inspiration :)

tennox commented 3 years ago

We sadly had to pause our project, but now I'm going to write the basic docs.

FYI also @agustif