skoruba / Duende.IdentityServer.Admin

The administration for the Duende IdentityServer and Asp.Net Core Identity ⚡
Apache License 2.0
579 stars 197 forks source link

[How to] Best configure the SPA vue client. #232

Open mrreddevil2412 opened 2 months ago

mrreddevil2412 commented 2 months ago

Question

How to configure the most standard SPA vue client. And how to make sure that when the token expires, SPA will automatically log back in like when using MVC .net 8

marisks commented 1 month ago

I suggest using Backend for Frontend approach. Duende has quite good documentation: https://duendesoftware.com/products/bff https://docs.duendesoftware.com/identityserver/v7/samples/bff/