# Default Roles For User Registration/Creation

**URL:** <https://community.auth0.com/t/default-roles-for-user-registration-creation/181563>\
**Category:** Product Feedback\
**Tags:** managment-api-v2, role, feature-request, signup\
**Created:** [February 6, 2025, 9:23am UTC](https://community.auth0.com/t/default-roles-for-user-registration-creation/181563 "2025-02-06T09:23:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hanufeenstra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/hanufeenstra/32/71335_2.png) [@hanufeenstra](https://community.auth0.com/u/hanufeenstra)\
**Post date:** [February 6, 2025, 9:23am UTC](https://community.auth0.com/t/default-roles-for-user-registration-creation/181563/1 "2025-02-06T09:23:05Z")

</div>

Feature: Be able to set a role as the default role so that a user gets created with this role already assigned.

Description: Post user registration, either via universal login or management API, a user is created with the default role, instead of no roles as is currently the case. A role would be selected as the default role. All users created via universal login or the management API will receive the default roles.

Use-case: The API has strict role-based access requirements, a user with no role can not make requests. A workaround to the current implementation is to create a post-login action to check whether the user has any roles, if the user has no roles, assign the default role using the management API. Having this post-login action feels unnecessary.

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [February 28, 2025, 1:06pm UTC](https://community.auth0.com/t/default-roles-for-user-registration-creation/181563/2 "2025-02-28T13:06:19Z")

</div>

Hi there!

Welcome to the Auth0 Community!

Thank you for creating this feedback card! Make sure to upvote it so that it gets as many votes and attract as many community members as possible!

Thanks  
Dawid
