Mark Wilson
Mark Wilson

Reputation: 27

Azure easy auth API

I've setup my mvc web app to use Azure easy auth. I need to pass the user role to the application code.

I've seen that easy auth already publishes an API, so that I can call /.auth/me and retrieve the user login. I can't find any documentation on this API - does it support other requests that can be used to pass a role?

Alternative would be to use the token store to call the graph API, but as I only need basic info, I wondered if there was a simpler way?

Thanks,

Mark

Upvotes: 1

Views: 757

Answers (1)

Nan Yu
Nan Yu

Reputation: 27538

If you want to know which application role has been assigned for current login user : enter image description here

you could check the roles claim in ID token :enter image description here

Update :

Currently , you can't get group claims in azure ad B2C with easy auth , you could find same user voice here .

Upvotes: 1

Related Questions