Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protect endpoints and docs #176

Open
vmesel opened this issue Apr 9, 2024 · 2 comments
Open

Protect endpoints and docs #176

vmesel opened this issue Apr 9, 2024 · 2 comments

Comments

@vmesel
Copy link
Member

vmesel commented Apr 9, 2024

We need to add a way to protect endpoints and the documentation, in order to do this, we must be able to still send and list messages given a certain session id, but all of the other endpoints must be used with authentication.

Maybe we should bring dialog-api-key as a key component of the project.

@hbharath327
Copy link

I am beginner to this project. Can you pls provide more context @vmesel

@vmesel
Copy link
Member Author

vmesel commented Jul 11, 2024

hey @hbharath327, I'm so so sorry that I missed your comment! Thank you for asking for more context.

Right now, whenever you have a dialog instance running, you can access the docs through /docs in the URL, but this is not good for a safety standard. I would like to add a query param or the possibility for the user to change this URL in the environment variables, making it more secret.

Does this context help more?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants