Authentication with appId and key in loopback restapi

I am wondering how to authenticate the application in order to make requests to endpoints, as I am having 401 errors. I have successfully generated the application identifier and appkeys keys and which should be used since there is no documentation on it.

+6
source share
1 answer

The application model is designed to work with oAuth 2.0, which allows authentication and authorization with the client application (client-id / client-secret) and the owner of the resource (username / password). OAuth 2.0 is under development. After its completion, the token endpoint should be able to generate access tokens that carry the identifier of the application and / or user.

+2
source

Source: https://habr.com/ru/post/973029/


All Articles