How to use OAuth 2.0 with loopback 4

368 views
Skip to first unread message

Rajasekhar Reddy

unread,
Sep 3, 2020, 1:43:37 PM9/3/20
to LoopbackJS
Hi,
How to use OAuth 2.0 with loopback 4 api? If you have any reference, please share.

Thanks,
Rajasekhar.

Raymond Feng

unread,
Sep 3, 2020, 1:59:00 PM9/3/20
to loopb...@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "LoopbackJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to loopbackjs+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/loopbackjs/6c471c83-1ddc-4648-b063-6121021b3eb4n%40googlegroups.com.

Rajasekhar Reddy

unread,
Sep 4, 2020, 4:30:12 AM9/4/20
to LoopbackJS
Thank you, Remond. This doc provides info about how to interface with external OAuth providers. However, is there a way that we can have our own implementation of OAuth for our APIs in loopback?

nf...@camelot-itlab.com

unread,
Sep 4, 2020, 5:33:45 AM9/4/20
to LoopbackJS
If you want to implement your own OAuth provider you could check out node-oidc-provider which can be mounted to an express application which works with Loopback 4. You can find further libraries listed here. How exactly do you intend to use oauth? Maybe I can suggest you a library
Reply all
Reply to author
Forward
0 new messages