I keep getting the CORS ‘Access-Control-Allow-Origin’ error, I already installed cors and setup it…
Andrés Pérez

I haven’t developed on Cloud9 so I can’t be sure, referencing these CORS issues I ran into may help:

I replaced CORSPlug with Corsica in this project, and I found it is necessary to whitelist the allowed headers — this is my best guess as to what the issue may be:

plug Corsica, allow_headers: ~w(Accept Content-Type Authorization Origin)

Does Cloud9 allow you to see the Phoenix server logs in development? That may offer more insight.

Like what you read? Give Ben Hansen a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.