Build User Registration with Node, React, and Okta

Lee Brandt on May 29, 2018

Today's internet users expect a personalized experience. Developers must learn to develop websites that provide that personalized experience whil... [Read Full]
markdown guide

Interesting, kind of new to node.
Was trying out this and got the following error:

POST localhost:3000/api/users 400 (Bad Request)

Failed to load Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'localhost:3000' is therefore not allowed access.



I'd first check to make sure localhost:3000 is listed in your trusted origins.

In the developer dashboard menu, hover over API and choose trusted origins. Make sure localhost:3000 is listed with CORS and Redirect selected.

code of conduct - report abuse