I want to setup an OAuth 2.0 Server using Loopback using a package called loopback-component-oauth2
The documentation is here : https://docs.strongloop.com/display/public/LB/OAuth+2.0#OAuth2.0-UsingtheOAuth2component
But it is very unclear, what models should i create and what rest endpoint should be defined?
Please help!
First of all, it's important to note that the documentation might be outdated:
After IBM’s acquisition of StrongLoop, we have integrated strong-gateway with the latest product offering from IBM called API Connect.
In any case, if you need some directions on how the server is set to provide OAUTH 2 authentications you should look at the following git project and pay a close attention to the following:
Git project using OAuth2.0 with the StrongLoop API Gateway: https://github.com/strongloop-archive/strong-gateway
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With