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

Need a minimal examples of Oauth and federation #875

Open
LucienLee opened this issue Jan 7, 2020 · 6 comments
Open

Need a minimal examples of Oauth and federation #875

LucienLee opened this issue Jan 7, 2020 · 6 comments
Labels

Comments

@LucienLee
Copy link

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:

  • Is it OAuth strategy is ready to use? If it does, how to integrate 3rd party Oauth, like Google, with Graphql?
  • How to use it with the Apollo federation?
  • What's the proper way to integrate with nextjs?
@agustif
Copy link
Contributor

agustif commented May 14, 2020

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
Copy link
Contributor

tennox commented Jun 10, 2020

@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 😅

@nsine
Copy link
Contributor

nsine commented Jun 11, 2020

hey @tennox
you can find some very draft version of example in this PR 🙂 #961

@tennox
Copy link
Contributor

tennox commented Jun 14, 2020

I made it! 😎

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
Copy link
Member

pradel commented Jun 16, 2020

@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
Copy link
Contributor

tennox commented Dec 9, 2020

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

FYI also @agustif

tennox added a commit to tennox/accounts that referenced this issue Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants