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

How to use the reference authentication package? #2839

Closed
webmaster-ar opened this issue May 6, 2019 · 7 comments
Closed

How to use the reference authentication package? #2839

webmaster-ar opened this issue May 6, 2019 · 7 comments
Assignees

Comments

@webmaster-ar
Copy link

webmaster-ar commented May 6, 2019

Questions

I have been studying Loopback 4 for a few days. I want to create a production version, however I concern about that Loopback 4 authentication package is not production ready and it is just a reference. So I'm not sure how should we use that reference.
I have the following questions:

  • Should we create a separate version based on that package?
  • Is the package safe to base my security on it?
  • Is that somethings are unfinished, but we can use the base?
  • There is an approximate date to be ready for production or it will be always a reference?
@diegoazh
Copy link

diegoazh commented May 8, 2019

I have the same questions. I need an authentication package, component or something else, but I not sure if this package will be finished. I would to contribute in the development of this component but I don't know if it will be a package for productiono or it will be always a reference.
have there some shcedule to work on it?

@dougal83
Copy link
Contributor

dougal83 commented May 8, 2019

If you follow the authentication label you can see the authentication issues and that includes labels that indicate the targeted delivery date namely 2019 Q3.

You can look at WIP repos under strongloop like https://github.com/strongloop/loopback-component-passport if you are interested but as auth. is in active development there is a high chance of breaking changes atm. I don't think it's considered production ready until the feature is documented at https://loopback.io/doc/en/lb4/ and is stated as such.

@jannyHou
Copy link
Contributor

jannyHou commented May 8, 2019

We are going to just released a new major version @loopback/[email protected], there are 3 related feature+blog stories team is actively working on:

#2467
#2311
#2725 blog will be published as a summary in the last step)

And @emonddr is refactoring the shopping cart example loopbackio/loopback4-example-shopping#79 to use the new auth system in @loopback/[email protected]

You can find more details in @dougal83 's update above (Thank you Daugal).

@jannyHou jannyHou self-assigned this May 8, 2019
@jannyHou
Copy link
Contributor

jannyHou commented May 8, 2019

Self-assigned, I will update the tutorial here after finishing story #2467 and #2311

@gopalakrishnan-subramani

+1, we need auth example as soon as possible to roll out basic integration with Authentication. We use lb4 for a project, we could not move further without authentication. Hope someone could give an example github example that can do hello world level authentication.

@samarpanB
Copy link
Contributor

@gopalakrishnan-subramani you can take a look at this extension we created for the community members to help them with authentication in LB4 until it is complete and stable in loopback core. There is a boiler plate project also created using this package. You can refer to that for example.

@jannyHou
Copy link
Contributor

FYI - The new docs are already available.

See:
https://loopback.io/doc/en/lb4/Loopback-component-authentication.html
https://loopback.io/doc/en/lb4/Authentication-Tutorial.html
Using passport based strategy: https://www.npmjs.com/package/@loopback/authentication-passport

I am closing this issue, feel free to reopen it if you still have questions :)

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

7 participants