Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
4 years agoConnect server returns CORS error, works fine in postman
Hello,
I am trying to connect to the 1password API via the connect server.
Currently in our setup we host the connect docker image (https://hub.docker.com/r/1password/connect-sync/) in an ECS...
Former Member
3 years agoHi Joris,
Yes. So we have a frontend that we want to make RESTful requests to persist credentials to 1password, via the connect server endpoints. As I said in my previous post, we have set up the Connect server per the advice of the 1password documentation.
_What I was hoping would happen: _
step 1, A user creates a new set of credentials (email and password) via a web application frontend form with input fields.
step 2, Once the user is happy with these credentials, they submit the form in a POST request to
step 3, The credentials are saved to the specific vault (determined by the VAULT_ID) in our company 1password account.
The problem
In step 2, the post request is blocked by CORS. When I was testing the endpoints I saw that it does work from Postman.
I know that creating another server to handle these POST requests would solve the problem, but we would prefer not to have spend extra resources doing so.
Do you have any suggestions for our case?
Thank you for replying,
Rory