Add API client method for in-app web-based authentication