# Add Roles and Permission on User Signup - Auth0 Core

**URL:** <https://community.auth0.com/t/add-roles-and-permission-on-user-signup-auth0-core/40228>\
**Category:** Get Help\
**Tags:** rules, auth0\
**Created:** [March 31, 2020, 9:57am UTC](https://community.auth0.com/t/add-roles-and-permission-on-user-signup-auth0-core/40228 "2020-03-31T09:57:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohsin.afridi911](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mohsin.afridi911/32/12776_2.png) [@mohsin.afridi911](https://community.auth0.com/u/mohsin.afridi911)\
**Post date:** [March 31, 2020, 9:57am UTC](https://community.auth0.com/t/add-roles-and-permission-on-user-signup-auth0-core/40228/1 "2020-03-31T09:57:33Z")

</div>

Hy  
I was using Auth0 Extension for User,roles and groups but due to storage issue i have used AWS S3 bucket to hold roles ,groups data.  
But now i want to use Authorization Core for Roles and permissions and my need is I have default roles and i want to add those while user is Signup?  
Kindly let me know if this approach needs some updated!  
Thanks

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [March 31, 2020, 5:27pm UTC](https://community.auth0.com/t/add-roles-and-permission-on-user-signup-auth0-core/40228/3 "2020-03-31T17:27:00Z")

</div>

Hi @mohsin.afridi911,

Welcome to the Community!

There are a couple of ways to add roles to users on signup. You can do it in a hook (this is only applicable to database and passwordless connections), or you can write a rule to accomplish this (this method will include all users, social, enterprise, etc.). There are numerous topics on the subject:

> [@Assign Roles to users using Rules](http://community.auth0.com/t/assign-roles-to-users-using-rules/27783/14):
>
> To find the role id, Login to your Auth0 dashboard Click Users & Roles Click Roles Click a role Look at the URL in your browser. It will contain the role id. In the example below the role id would be rol\_41eOpF31juqS0K https://manage.auth0.com/dashboard/us/dev-######/roles/rol\_41eOpF31juqS0K/settings

> [@Add Default Role to New User Sign-up](http://community.auth0.com/t/add-default-role-to-new-user-sign-up/36763/3):
>
> Hi @amckendrick, There are different approaches here, and not necessarily one standard way. I will try and lay out what I know about the topic. These could be pros or cons depending on your needs. Using a post registration hook to add the role: Limited to database connections (will not be applied to social connections) Does not require a login to assign the role Role assigned when you create a new user via the management api/dashboard Role assigned after a successful signup via the custom si…

Let me know if you have questions,  
Dan

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 14, 2020, 9:27pm UTC](https://community.auth0.com/t/add-roles-and-permission-on-user-signup-auth0-core/40228/4 "2020-04-14T21:27:03Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
