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 Rory,
Thank you for clarifying that. Technically, it would be possible to place a nginx proxy or something similar between Connect and the frontend to set the required CORS headers to allow this request.
However, we recommend to only supply Connect tokens to and make request to Connect from trusted applications. By supplying a token to the frontend, anyone with access to that frontend can easily extract the token.
What we recommend instead is adding a server application with a Connect token that handles requests from the frontend and to Connect. Preferably, this also authenticates the users of the application.
Let me know if you have any other questions.
Joris