Considerations on the refresh token

Quick Question: what type of application are you developing? Is this a Javascript app with no dedicated backend? A Javascript app with a BFF or dedicated backend? Or a classic webapp with a mostly HTML front end and a backend?