Skip to content

Improve and refactor the authentication documentations #5294

@neha2683

Description

@neha2683

Hello
Is there a better tutorial or video to demonstrate integration of authentication and authorization into Loopback 4 application.
The current tutorial on loopback.io is little confusing for me . Thanks for the pointers .


Updated by Janny

A plan for the layout of new authentication documentation:

  • Authentication Overview (includes Concept and architecture, brief description, not code)
    • Getting started with JWT todo example as the authentication tutorial
      • Copy the usage from its README file
    • Component @loopback/authentication - what's provided out-of-the-box
    • JWT auth extension @loopback/authentication-jwt-extension - what's provided out-of-the-box
    • create your own auth strategy - for extension developers
    • Passport adapter @loopback/authentication-passport
    • Advanced tutorial create jwt auth extension (use https://github.com/HrithikMittal/Loopback4-auth)

Acceptance Criteria

  • Create a overview page for authentication, only describes the architecture and concepts
  • Refactor loopback-authentication-component to reflect the current code and easier to understand
  • Update @loopback/authentication's README file to have a concise usage
  • Add JWT auth extension page in loopback.io, the usage can point to the module's readme file
  • Add JWT todo example fix: jwt auth tutorial #5421 mostly ready for merge
  • Refactor the JWT tutorial in shopping example to be easier to understand
  • Refactor the passport adapter page to be easier to understand

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions