-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
In a follow-up for #3718, we should document how to migrate Authentication & Authorization features from LB3-style to LB4. Let's write an outline of a migration guide for LB3 users - an initial "seed" version that we can incrementally improve later.
Acceptance criteria
-
Review different aspects of auth & auth provided by LB3:
- Authentication using
UserandAccessToken - Accessing the current user via
optionsargument injected by strong-remoting - Authorization based on
ACL,Roleand strong-remoting metadata describing access-type of individual methods. Scope-based authorization. - API Explorer
- Authentication using
-
Update https://loopback.io/doc/en/lb4/Understanding-the-differences.html with any missing details, replace
TBDmarkers with real content. Add new table rows to capture missing features. -
Update the draft of the Migration guide (see Spike: Migration guide from LB3 - General runtime #3718), create a placeholder section for each aspect/feature we need to document --> see
docs/site/migration/auth -
If we know the instructions for migrating a certain aspect/feature, then write down the high level instructions as part of this spike.
-
For the remaining sections, create follow-up issues and reference them from the section text.
While this story is a spike task, the skeleton of the migration guide should be landed and published in our docs. The spike aspect is related to the fact that we don't know the scope of the migration guide, which parts are easy to document and which will require further research.