title: AWS API Gateway: Is it possible to return 302 when using custom authorizer?
body: <p>I have an AWS API setup that works correctly. I use a custom authorizer and I can return 401 if the user doesn't have the correct token. Is it possible however to redirect the user to our Authorization service where they would authenticate and get the authorization token?</p>
  
  <p>According to <a href="https://stackoverflow.com/questions/31329495/is-there-a-way-to-change-the-http-status-codes-returned-by-amazon-api-gateway">this</a> answer I can setup the http codes for an API gateway, but when using a custom authorizer the authorizer expects a policy as response from Lambda. What should I do in that case?</p>