-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Spike] How to migrate apps using loopback-component-oauth2 #3959
Comments
I think this story will require a spike first. |
This is for server side. We don't intend on supporting our own oauth2 server module.
|
@deepakrkris, I'm assigning this issue to you because you've done part of the work already. |
A proposal:
|
Had a chat with @raymondfeng , thank you for providing feedback!
In LoopBack 4, @deepakrkris recently created an example application showing how to login with 3rd-party providers and secure the endpoints in https://github.com/strongloop/loopback-next/tree/master/examples/passport-login. At this stage, it would be good enough for developers to learn and follow. In case you really want to turn a LoopBack 4 application as an oauth2 provider, here are some tips of how to migrate:
cc @dhmlau are we good to close it? |
@jannyHou, if this issue duplicates what @deepakrkris is doing for #3958, then let's close this one. Thanks. |
@dhmlau I rephrased the comment a bit. Deepak's repo (and all the examples/feats we’ve implemented so far) uses 3rd-party oauth2 provider like google/fb, but that component sets up a LoopBack app itself as an oauth2 provider, which is a rare use case. |
@jannyHou, agreed, the scope of this task is too broad. |
Thanks everyone for the discussion, follow up story created in #5184 🙇♀️ |
This is a follow-up for #3718 and #3922.
Write content for
docs/site/migration/auth/oauth2.md
, explain how to migrate LB3 applications using loopback-component-oauth2 to LB4.Acceptance criteria
The text was updated successfully, but these errors were encountered: