Skip to content

Commit

Permalink
fix(authentication-service): security issue with forget password and …
Browse files Browse the repository at this point in the history
…login api (#466)

BREAKING CHANGE:
response type of forget password and login api changed

gh-0
  • Loading branch information
samarpan-b authored Jan 16, 2022
1 parent ab974e7 commit 7da5b0b
Show file tree
Hide file tree
Showing 28 changed files with 1,046 additions and 332 deletions.
9 changes: 9 additions & 0 deletions services/authentication-service/.nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "@istanbuljs/nyc-config-typescript",
"all": true,
"reporter": [
"html",
"json-summary",
"text-summary"
]
}
1 change: 1 addition & 0 deletions services/authentication-service/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
dist
*.json
coverage
39 changes: 39 additions & 0 deletions services/authentication-service/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Service",
"program": "${workspaceFolder}/dist/index.js",
"preLaunchTask": "Build Project"
},
{
"type": "node",
"request": "launch",
"name": "Mocha Service",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/dist/__tests__"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"preLaunchTask": "Build Project"
},
{
"type": "node",
"request": "launch",
"name": "Mocha Current File",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": ["--timeout", "999999", "--colors", "${file}"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
}
]
}
14 changes: 14 additions & 0 deletions services/authentication-service/.vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,20 @@
},
"problemMatcher": "$tsc-watch"
},
{
"label": "Build Project",
"type": "shell",
"command": "npm",
"args": [
"run",
"build"
],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": "$tsc"
},
{
"label": "Build, Test and Lint",
"type": "shell",
Expand Down
2 changes: 2 additions & 0 deletions services/authentication-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

![npm (prod) dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/authentication-service/@loopback/core)

![check-code-coverage](https://img.shields.io/badge/code--coverage-76.35%25-yellow)

## Overview

A Loopback Microservice for handling authentications. It provides -
Expand Down
Loading

0 comments on commit 7da5b0b

Please sign in to comment.