I have created an app with Angular, ASP.Net Spa and a Endpoints to read data from a MySQL DB. Later I got the requirement to do the auth with OIDC. Of course it requires a secret, so I can't do it through the frontend. Can anyone link me a good example/template that contains all? I already found how they implemented it on the Microsoft side, but I don't use Razor sites. I already found out that I should use the BFF pattern and also found OidcProxy.net, but it requires the scope: offline_access, which I don't get from the OIDC provider. Continue reading...