Newbie!
Our use case is a B2B REST API and generally no user access via a browser except for testing. We are using TLS 1.2 Mutual Authentication (MA). An HTTP 302 Found including a set of cookie...
You can use iRule to send redirect based on User-Agent in the incoming HTTP request. Related but different iRule found here. Once you develop an iRule, post it here and someone will help you fine tune it.