You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Azure AD and Microsoft.Identity.Web to protect my .NET 5 web api, however for authorization I need to use my company's custom ACL based system which is based on claims. I've found this Microsoft document on Using ACL-based authorization and I've set the the AllowWebApiToBeAuthorizedByACL to true, however the document doesn't provide any guidance on how add the custom ACL (claims) to the incoming identity/principal so it can be used with the .NET 5 authorization framework. Can anyone provide any guidance on how to do this? Are there any built in classes/interfaces/events in .NET 5 or Microsoft.Identity.Web that I need to use?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using Azure AD and Microsoft.Identity.Web to protect my .NET 5 web api, however for authorization I need to use my company's custom ACL based system which is based on claims. I've found this Microsoft document on Using ACL-based authorization and I've set the the
AllowWebApiToBeAuthorizedByACL
to true, however the document doesn't provide any guidance on how add the custom ACL (claims) to the incoming identity/principal so it can be used with the .NET 5 authorization framework. Can anyone provide any guidance on how to do this? Are there any built in classes/interfaces/events in .NET 5 or Microsoft.Identity.Web that I need to use?Thank you
Beta Was this translation helpful? Give feedback.
All reactions