Daniel García Aubert
|
a616982ec3
|
Use strict mode
|
2018-10-24 15:42:33 +02:00 |
|
Eneko Lakasta
|
340e55ea46
|
reduce error info
|
2018-06-06 15:23:53 +02:00 |
|
Eneko Lakasta
|
eab3d289b6
|
refactor authenticated to authorizationLevel
|
2018-06-05 13:21:56 +02:00 |
|
Eneko Lakasta
|
a4292f08cf
|
refactor apikey to apikeyToken
|
2018-06-05 13:13:09 +02:00 |
|
Eneko Lakasta
|
fa5a99211c
|
check user exists in user middleware
This way, we keep sending a 404 error if the user does not exist.
|
2018-05-29 13:23:50 +02:00 |
|
Eneko Lakasta
|
fc7e246704
|
please jshint
|
2018-05-18 11:35:54 +02:00 |
|
Eneko Lakasta
|
1e8c6e198c
|
remove api key fallback
|
2018-05-17 17:13:59 +02:00 |
|
Daniel García Aubert
|
6f4c79eaef
|
Fix common interface for auth-backends
|
2018-02-26 19:02:05 +01:00 |
|
Daniel García Aubert
|
418ec1304f
|
Fix issue with auth fallback, it wasn't authenticated when apikey master was provided
|
2018-02-26 18:13:49 +01:00 |
|
Daniel García Aubert
|
3807d9f94d
|
Template for User not found error
|
2018-02-22 17:49:02 +01:00 |
|
Daniel García Aubert
|
b399abee18
|
Move authorization to auth-api and extract it from user-database-service
|
2018-02-22 11:46:34 +01:00 |
|
Daniel García Aubert
|
28a7cf9259
|
Don't authenticate when default_public api-key is provided
|
2018-02-21 11:14:31 +01:00 |
|
Daniel García Aubert
|
03e9b8006b
|
Actually pass just apikey instead of the entire "res" object
|
2018-02-19 19:16:33 +01:00 |
|
Daniel García Aubert
|
ad772246d0
|
Get api_key from specific middleware and save it into res.locals
|
2018-02-15 17:23:35 +01:00 |
|
Daniel García Aubert
|
88015aaf0f
|
Implement new auth system based on api-key tokens with scoped permissions
|
2017-11-24 17:57:54 +01:00 |
|
Raul Ochoa
|
703479b7de
|
jshint: fix auth directory
|
2015-05-12 18:00:30 +02:00 |
|
Raul Ochoa
|
480a9f27b4
|
New authentication mechanism: checks in advance if credentials are provided
in order to do a single request to redis to retrieve the required database
connection parameters.
|
2014-08-05 16:20:06 +02:00 |
|
Raul Ochoa
|
49406c99fa
|
Moves auth functionality to its own directory
|
2014-08-05 11:57:43 +02:00 |
|