---
title: "Auth Module"
description: "Authenticate admin users through identity providers and store user metadata for authorization purposes. Use multiple authentication methods and easily integrate with your preferred auth-providers."
url: https://medusajs.com/authentication-module
last_updated: 2026-10-20T10:28:40Z
---

# Auth Module

Authenticate admin users through identity providers and store user metadata for authorization purposes. Use multiple authentication methods and easily integrate with your preferred auth-providers.

### Everything you need for authentication

Authenticate admin users through identity providers and store user metadata for authorization purposes. Use multiple authentication methods and easily integrate with your preferred auth-providers.

#### Pre-built setup to handle access and permissions

Use your preferred authentication methods and providers to handle users and customers. Set up role-based access control and manage your users directly in the Medusa Admin.

##### Multiple authentication methods

Authenticate customers and admin users with different methods, such as email/password, OAuth, SAML, and more.

[Learn more](https://docs.medusajs.com/resources/commerce-modules/auth)

##### Manage users in your admin

Invite new admins to your team and manage your user settings directly in the Medusa Admin.

[Learn more](https://docs.medusajs.com/resources/commerce-modules/auth/auth-identity-and-actor-types)

##### Customer account handling

Let customers create their own user accounts, which they can authorize and access via social logins.

[Learn more](https://docs.medusajs.com/resources/commerce-modules/auth/create-actor-type)

##### RBAC and permissions

Store metadata about user authorizations to control permissions and set up role-based access control.

[Learn more](https://docs.medusajs.com/resources/commerce-modules/user)

##### Use external authentication providers

Use authentication plugins to support external authentication providers like Google, Auth0, GitHub, and more.

[Learn more](https://docs.medusajs.com/resources/commerce-modules/auth/auth-providers)

#### Multi-level access at Patyna.

Learn how Patyna built a marketplace with different user permissions for vendors and marketplace admins.

[Read Story](https://medusajs.com/blog/patyna/)

#### Custom user access and profiles

Extend the auth data model with custom attributes for more granular user access control. Make your customizations manageable from the user profile using Widgets.

##### Custom user access types

Easily extend your user access with custom attributes to control permissions when managing the store.

[Learn more](https://docs.medusajs.com/learn/customization/extend-features)

##### Add custom user widgets

Use Widgets and the Medusa UI library to inject native-looking custom functionality into the User page of the Medusa Admin.

[Learn more](https://docs.medusajs.com/learn/fundamentals/admin/widgets)

#### Authentication engine for your commerce operations

Manage authentication and authorization for users and customers of your Medusa store.

#### Pre-built authentication logic

#### Connect and customize

[Start now](https://cloud.medusajs.com/signup)

#### Ready to build your
custom commerce setup?
