Share feedback, ideas and get community help

Updated 3 months ago

cors question

Hello, is there a way to disable the self-hosted typebot's cors or allow another url besides its own?
B
p
10 comments
What URL are you trying to query? Builder or viewer?
Why would you ever want to query the builder API from the browser? You need to use a server for that
In this case, we log in and register with typebot making the request from another system, which is at another url, but we are having problems regarding cors
You should definitely have a server that consumes the Typebot API. You should not directly consume it from the browser πŸ™‚
Otherwise, you are free to edit the Typebot's code to enable CORS but we won't do this on the official repository
In this case, we are trying to integrate typebot with our system. To do this, we need to automatically log the user into typebot, so we can forward the user directly to typebot without them needing to log in. The login would be done by our system, using the user's email
In fact, it would be ideal to use APIs. We would have access to the tokens of registered users so we could do what we need. In fact, the biggest problem in using the API for this solution would be precisely having access to user tokens.
Can you imagine a way out?
As I said, you are always free to edit the Typebot's code to enable CORS but we won't do this on the official repository
Add a reply
Sign up and join the conversation on Discord