Is there an example somewhere where routes are dependent/guarded on a header in a somewhat concise way?
For example, I'd love to be able to have /auth go to an API flow if the Accept header is application/json but go to a web flow if the Accept header is text/html.
I've searched through the examples but didn't end up no something I thought was "elegant".