loopback4-authentication
loopback4-authentication copied to clipboard
feat(middleware): add client and user authentication middleware
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
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
:tada: This PR is included in version 7.1.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket: