# \#role

**URL:** https://community.auth0.com/tag/role/705.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Default Roles For User Registration/Creation](https://community.auth0.com/t/default-roles-for-user-registration-creation/181563)

<div class="topic-metadata">

**Author:** [@hanufeenstra](https://community.auth0.com/u/hanufeenstra)\
**Replies:** 1\
**Last updated:** [February 28, 2025, 1:06pm UTC](https://community.auth0.com/t/default-roles-for-user-registration-creation/181563 "2025-02-28T13:06:19Z")

</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 t…

---

## [Getting user role from auth0-vue](https://community.auth0.com/t/getting-user-role-from-auth0-vue/85013)

<div class="topic-metadata">

**Author:** [@roman2](https://community.auth0.com/u/roman2)\
**Replies:** 2\
**Last updated:** [June 15, 2022, 7:03pm UTC](https://community.auth0.com/t/getting-user-role-from-auth0-vue/85013 "2022-06-15T19:03:10Z")

</div>

Hi all, i am using “@auth0/auth0-vue”: “^1.0.1”, and I am looking for a good way to get get the user roles. In my vue2 project I used the auth0-spa-js and I added this function to a wrapper isUserRole (role) { const u…

---

## [Conditionally add scope based on Auth0 role](https://community.auth0.com/t/conditionally-add-scope-based-on-auth0-role/72761)

<div class="topic-metadata">

**Author:** [@emiel](https://community.auth0.com/u/emiel)\
**Replies:** 1\
**Last updated:** [November 8, 2021, 6:29pm UTC](https://community.auth0.com/t/conditionally-add-scope-based-on-auth0-role/72761 "2021-11-08T18:29:38Z")

</div>

Hi there! Could you help me with the following. Currently our application (.NET Core API) is protected by using \[Authorize("myscope")\]. A small number of the users defined in our Auth0 tenant have a custom role, Manage…

---

## [Free plan roles limitation 2021](https://community.auth0.com/t/free-plan-roles-limitation-2021/66889)

<div class="topic-metadata">

**Author:** [@corequatro](https://community.auth0.com/u/corequatro)\
**Replies:** 1\
**Last updated:** [July 27, 2021, 7:11pm UTC](https://community.auth0.com/t/free-plan-roles-limitation-2021/66889 "2021-07-27T19:11:52Z")

</div>

Hello. We are thinking about migration to Auth0 from local IdentityServer4. Currently, I’m testing a free plan, and in subscription settings for starter subscription users, roles are available. But on the main site page …

---

## [What is the best practice of getting noticed when roles of users are changed](https://community.auth0.com/t/what-is-the-best-practice-of-getting-noticed-when-roles-of-users-are-changed/66203)

<div class="topic-metadata">

**Author:** [@json](https://community.auth0.com/u/json)\
**Replies:** 1\
**Last updated:** [July 15, 2021, 9:52pm UTC](https://community.auth0.com/t/what-is-the-best-practice-of-getting-noticed-when-roles-of-users-are-changed/66203 "2021-07-15T21:52:43Z")

</div>

I want to manage the roles of users via Auth0. But I don’t know how to apply immediately the roles of users when it is changed. For example, I want that the user can’t see private resources immediately when I remove th…

---

## [Role - Default - Is a role assigned by default?](https://community.auth0.com/t/role-default-is-a-role-assigned-by-default/46729)

<div class="topic-metadata">

**Author:** [@yair](https://community.auth0.com/u/yair)\
**Replies:** 5\
**Last updated:** [July 23, 2020, 12:45pm UTC](https://community.auth0.com/t/role-default-is-a-role-assigned-by-default/46729 "2020-07-23T12:45:01Z")

</div>

With Auth0 if a user is created and no role is explicitly defined will the user simply have no role or does Auth0 have some sort of rules it uses? If Auth0 has rules what are these?

---

## [Role with Spring security](https://community.auth0.com/t/role-with-spring-security/44824)

<div class="topic-metadata">

**Author:** [@kmaeng](https://community.auth0.com/u/kmaeng)\
**Replies:** 0\
**Last updated:** [June 17, 2020, 10:47am UTC](https://community.auth0.com/t/role-with-spring-security/44824 "2020-06-17T10:47:36Z")

</div>

Hi, All. I wanted to add “role” claim to access token but it’s not possible. I can use custom namespace with the role claim. So…how can I configure “hasRole” method in Spring Security if the token value is ‘http://exa…

---

## [How to assign a default role to user at signup?](https://community.auth0.com/t/how-to-assign-a-default-role-to-user-at-signup/40505)

<div class="topic-metadata">

**Author:** [@orozcox](https://community.auth0.com/u/orozcox)\
**Replies:** 1\
**Last updated:** [April 6, 2020, 6:20pm UTC](https://community.auth0.com/t/how-to-assign-a-default-role-to-user-at-signup/40505 "2020-04-06T18:20:43Z")

</div>

Hi. I have created a rule to assign a default role at the moment that users make signup. i followed http://community.auth0.com/t/how-do-i-add-a-default-role-to-a-new-user-on-first-login/25857 and i put the next code in…
