auth0-authorization-extension icon indicating copy to clipboard operation
auth0-authorization-extension copied to clipboard

Creating a Role/Permission in v2 requires an Application

Open FreeWillaert opened this issue 8 years ago • 8 comments

Great work on v2, but to create a Role or Permission, it is necessary to specify an Application.

However, applications were removed in v2, and it's no longer possible to create on so the dropdown remains empty...?

Forgive me if I'm overlooking something, but as far as I can see there is no way to create a Role or Permission right now?

FreeWillaert avatar Dec 17 '16 21:12 FreeWillaert

@FreeWillaert - Not the author of the extension, but have successfully installed and setup on my tenant.

Not clear what issue you are facing based on the information above. Please can you elaborate. Additionally here are a couple of clarifications to consider / include too:

1). Have you defined at least 1 Client via the Dashboard? Have you defined at least one User & associated that user with a Connection (DB, Social etc) that is also associated with the Client (application). Only asking to get a little context on your situation.

2). Have you made any configuration changes inside the Extension itself - there is a Configuration option in the drop-down in the top-right hand corner (which by default is the name of your tenant).

Finally, of course documentation may assist?

arcseldon avatar Dec 17 '16 21:12 arcseldon

Hi, thanks for responding! And sorry for not making myself very clear perhaps.

  1. Yes, I have a client and a couple of users.
  2. In the Extension Configuration, I've selected Groups and Roles, both under Token Contents and Persistence.

As far as Groups are concerned, everything works fine - I can add a user to a group, and after logging in with that user I see that the group is added in his app_metadata.

However, when I try to create a new role, I need to specify an Application: image

Now, that dropdown list is empty, and I see no way of creating an application - which should make sense, since that concept was removed in v1. The same goes for creating a permission.

Did you manage to setup the extension not with Groups, but with Roles and/or Permissions?

FreeWillaert avatar Dec 17 '16 22:12 FreeWillaert

The list here will only show Native, Single Page and Traditional Web Applications. Make sure your type is correctly set on the client level:

image

sandrinodimattia avatar Dec 21 '16 11:12 sandrinodimattia

Why not for "Non interactive Client"?

levino avatar Feb 17 '17 14:02 levino

Any reason we can't do that on "Non interactive client" ?

edouardKaiser avatar Jun 16 '17 04:06 edouardKaiser

need an answer for this as well. Trying to use it for Machine 2 Machine apps

jchao09 avatar Nov 09 '18 19:11 jchao09

I'm looking for an answer to this as well. Why doesn't this work for machine to machine app types? Is there a fix for this without changing the client application type?

kavinambiar avatar Dec 05 '18 14:12 kavinambiar

Hi @sandrinodimattia I'm looking for the same answer. Is there any way to manage m2m applications?

somq avatar Nov 10 '19 20:11 somq