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

Integration with Bell #24

Open
gottarts opened this issue Aug 17, 2016 · 5 comments
Open

Integration with Bell #24

gottarts opened this issue Aug 17, 2016 · 5 comments

Comments

@gottarts
Copy link

Hi,
i'm succesfully using hapi-auth-jwt2 in one of my projects, but I can't find a way to integrate it with Bell to allow social login. Is there some tutorial or example i might look at?

Thanks

@alexdrans
Copy link

Did you figure this out @gottarts?

@nelsonic
Copy link
Member

@gottarts which social login are you supporting?

@alexdrans
Copy link

The cleanest way is to fetch the facebook data via standard login, and then proceed with storing and authing the jwt just like the username and password strategy right?

@nelsonic
Copy link
Member

@alexdrans if the objective is Facebook login we have: https://github.com/dwyl/hapi-auth-facebook which has example code. 😉
(hence my question for @gottarts ...)

@alexdrans
Copy link

Oops. I mean the general strategy is to use the provider's means of login to retrieve the profile, and then store and auth the JWT i.e. Don't use Bell at all.

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

No branches or pull requests

3 participants