Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Authenticate by appId and key in loopback restapi

i am wondering how to authenticate app to make requests to endpoints as i am getting 401 errors i have successfully generated app id and appkeys and which should be used as there is no documentation on it.

like image 875
itsbalamurali Avatar asked Jul 29 '14 11:07

itsbalamurali


1 Answers

The application model is designed to work with oAuth 2.0 which allows the authentication and authorization with client application (client-id/client-secret) and resource owner (username/password). The oAuth 2.0 is under development. Once it's ready, the token endpoint should be able to generate access tokens that carry app and/or user id.

like image 114
Raymond Feng Avatar answered Nov 04 '22 18:11

Raymond Feng