Открыта бета 1С:ПредприятияОставить заявку
A

Auth emailpass

Email and password credential authentication provider for Medusa

Входит в @medusajs/medusa, ставить отдельно не нужно
Категория
Создано
Версия
2.22.4
Последнее обновление
7 часов назад
Ежемесячные загрузки
Загрузка данных

Medusa logo

@medusajs/auth-emailpass

Documentation | Website

Building blocks for digital commerce

Medusa is released under the MIT license. PRs welcome! Discord Chat Follow @medusajs

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
TypeModule Provider (Auth Module)
Provider ID
Registered by defaultYes, 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

OptionTypeDescriptionDefault
The scrypt parameters used to hash passwords.

Resources