Overview of FeathersJS authentication strategies
FeathersJS provides three primary authentication strategies to secure applications and manage user identities:
- JWT (JSON Web Token): The core mechanism for authenticating requests. The server issues a time-limited access token (defaulting to one day) upon login, which the client must include in subsequent requests.
- Local Authentication: Allows users to authenticate using a registered username (typically an email) and password. This requires a database to store credentials securely.
- OAuth Authentication: Enables users to log in via third-party providers such as Google, GitHub, or Twitter.