A
Auth emailpass
Email and password credential authentication provider for Medusa
Входит в @medusajs/medusa, ставить отдельно не нужно
Категория
Создано
Версия
2.22.4
Последнее обновление
7 часов назад
Ежемесячные загрузки
Загрузка данных
@medusajs/auth-emailpass
Documentation | Website
Building blocks for digital commerce
Email/Password Auth Module Provider for Medusa: authenticates users and customers with an email (or other identifier) and a password hashed with scrypt. It's the default auth provider of the Auth Module, so admin users and customers can log in with email and password out of the box. It ships with and is registered through the path.
At a glance
| Package | |
| Type | Module Provider (Auth Module) |
| Provider ID | |
| Registered by default | Yes, with |
| Import from |
Installation
No installation needed. The provider is a dependency of and is registered by default.
Usage
You only need to register the provider yourself to pass options, or when you override the Auth Module's array (for example, to add another provider). Keep in the list in that case:
Configuration
| Option | Type | Description | Default |
|---|---|---|---|
| The scrypt parameters used to hash passwords. |

