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

add authentiication #6

Open
heralight opened this issue Nov 19, 2016 · 6 comments
Open

add authentiication #6

heralight opened this issue Nov 19, 2016 · 6 comments

Comments

@heralight
Copy link
Contributor

Hi,

I like your fireloop.io idea, and in your tutorial and wiki you talk about authentication with passport and loopback.
I fail to reproduce that, perhpas do you some implementation accessible?

Thank you,

@jonathan-casarrubias
Copy link
Contributor

jonathan-casarrubias commented Nov 19, 2016

Hi @heralight thanks for reaching out,

Hey so, first of all I'm glad you find the fireloop api attractive, second... The sdk builder works in both scenarios, just LoopBack REST API and FireLoop.

The examples I have in the wiki should work for both, since both use the same authentication mechanism, once you get the token and use the authService to add it, then FireLoop should be able to use that token and create a web socket connection and implement acl security rules etc.

So, there is just one thing, you should authenticate and set the token prior you create an instance of fireloop.

In other words, by the moment you create an instance of fireloop, you should have already have a token set in your project.

I do not have a working example for that, but I will definitely be adding one as soon as I release the FireLoop CLI 1 into beta and the SDK Builder 2.1 into release candidate, which should happen in the next following days.

Cheers
Jon

@tguelcan
Copy link

tguelcan commented Jun 7, 2017

I do not have a working example for that, but I will definitely be adding one as soon as I release the FireLoop CLI 1 into beta and the SDK Builder 2.1 into release candidate, which should happen in the next following days.

Hey @jonathan-casarrubias, do you have a Example?

@ptesar-xyndata
Copy link

Hello @jonathan-casarrubias we need example :( THANK YOU VERY MUCH

@certifirm
Copy link

certifirm commented Sep 8, 2017

@jonathan-casarrubias One example will be amazing. Thanks in advance.

@jonathan-casarrubias
Copy link
Contributor

jonathan-casarrubias commented Sep 11, 2017

Hey guys I just released a documentation for authentication

https://github.com/mean-expert-official/fireloop.io/wiki/Authentication

The security part is really complex and wide, I just talked about basics I will extend as soon as I can. The passport implementation would combine with this other documentation https://github.com/mean-expert-official/loopback-sdk-builder/wiki/7.-Social-Passport-Integration

@ptesar-xyndata
Copy link

Excelent Jonathan, thank you! I have started to play also with the new usage of ngrx from Brannon! I will let you know when it works!

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

No branches or pull requests

5 participants