Assign Roles to user's from c#

Hello!

I have been banging my head against a wall for a couple of days now, I am trying to assign roles to a user using the C# sdk, the problem I have is my application needs read:roles and update:users I added permissions to create it however I can’t find where I put those previously.

Essentially I just can’t remember on the API website where to assign the required scopes. Would anyone be able to point me in the right direction?

Thanks!

Also,

I have been to here: Assign Roles to Users
and https://auth0.com/docs/api/management/v2/tokens

Hi @ejohnson1,

Welcome to the Community!

If I understand you correctly, then you can assign scopes to your M2M application in the dashboard.

Go to APIs > Auth0 Management API > Machine to Machine Applications > then click the arrow next to the name of your application.

Is this what you were missing?

Thanks,
Dan

1 Like

@dan.woda,

Yes that is exactly what I was asking for.

Thank you I just could not find the screen where that was located.

@ejohnson1,

It’s a bit hidden. Glad that worked for you!

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