I have an ASP.NET Core application where users need to log in using Azure AD. I have implemented this as described in the Microsoft documentation:
There's a database attached to the application, in which I have described user roles, and based on those roles I want to fill in what is visible, what the user can do, etc.
How can I add the data from the database to the session after logon, so I have access to that data on every page?