You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the new authentication interface in authentication package => #2466
Use the updated authentication action in authentication package => #2467
Use the updated strategy resolver provider in authentication package => #2312 && #2467 (The resolver will need to deal with passport strategies and non-passport) strategies.
/users/login will continue to be without any authenticate decorator (won't have a strategy associated with it). email and password comes in the request body, and logic for performing user credential validation will continue to be done in the controller method.
The JWTStrategy will be reworked to be an extension of the authentication strategy extension point so that it is discoverable via the new strategy resolver provider in 3).
Updated documentation to guide user through steps of: starting database and redis, adding users to the database, logging in with email and password and receiving a jwt token, and using this jwt token with a REST Client (if API Explorer is not updated to pass credentials or tokens with requests) to access the authenticated endpoints, and using API Explorer for the non-authenticated endpoints
Updated unit, acceptance, and integration mocha tests
The text was updated successfully, but these errors were encountered:
emonddr
changed the title
Refactor shopping app to use the new auth action
Refactor shopping app to use the updated authentication package
Apr 17, 2019
@emonddr you may want to revive this pull request to upgrade example-shopping to v2 of our authentication module: #114 You can also run git chery-pick 85098b6a to add the commit from that pull request into your feature branch implementing the necessary changes and refactorings.
Description
authentication
package => #2466authentication
package => #2467authentication
package => #2312 && #2467 (The resolver will need to deal withpassport
strategies andnon-passport
) strategies./users/login
will continue to be without anyauthenticate
decorator (won't have a strategy associated with it). email and password comes in the request body, and logic for performing user credential validation will continue to be done in the controller method.feat: addition of current user authentication in the request to creat… #71. Related to: The First Scenario: Authenticated orders (a minimal authentication) loopback-next#1998
Acceptance Criteria
The text was updated successfully, but these errors were encountered: