Allow cors to be method to allow checking the request origin against a list of allowed origins