Omegapoint / rest-sec-net

Course on secure REST API in ASP.NET Core 2, C#
MIT License
1 stars 0 forks source link

Add sample code for adding custom claims #19

Closed altenstedt closed 4 years ago

altenstedt commented 4 years ago

This commit will add sample code that describes how you can add custom USER and CLIENT claims to the access token. It is commented out, and is added for reference only. This is a common scenario that can be a little tricky to figure out (especially for the client scenario.)

altenstedt commented 4 years ago

Ping @TobiasAhnoff, Simon Tardell, Lars Sjöblom