Referring to the docs here: https://docs.netlify.com/routing/redirects/#syntax-for-the-netlify-configuration-file
We already maintain an application that handles all signup/login/logout/sessions as well as password resets, emailing and all the related functionality. Migrating all these users and functionality to Netlify Identity is not an option unfortunately.
Is it possible to use this general redirects file to gate static content using our own existing auth service?
If we were using netlify identity it would be as simple as
/gated-content/* 200! Role=member, is there a way to hook into that conditional logic?