loopback4-authentication icon indicating copy to clipboard operation
loopback4-authentication copied to clipboard

feat(middleware): add client and user authentication middleware

Open barleendhaliwal opened this issue 3 years ago • 1 comments

Description

Provide middleware based sequence support as action based sequence will be deprecated soon.

  • Added client and user authentication middleware
  • Added Config key to which binding can be done to enable these middlewares
  • Rectified integration test - "should return 302 when client id is passed and passReqToCallback is set true" for apple, intagram, keycloak and google strategies
  • Added integration test cases for using middleware based sequence
  • Updated readme
  • deleted dist folder so that it no longer shows in changes

Fixes # (GH-32)

Type of change

Please delete options that are not relevant.

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] Intermediate change (work in progress)

Checklist:

  • [x] Performed a self-review of my own code
  • [x] npm test passes on your machine
  • [x] New tests added or existing tests modified to cover all changes
  • [x] Code conforms with the style guide
  • [x] API Documentation in code was updated
  • [ ] Any dependent changes have been merged and published in downstream modules

barleendhaliwal avatar Jul 18 '22 06:07 barleendhaliwal

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Jul 18 '22 06:07 sonarqubecloud[bot]

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Sep 23 '22 06:09 sonarqubecloud[bot]

:tada: This PR is included in version 7.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

yeshamavani avatar Oct 14 '22 06:10 yeshamavani