You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two potentially major issues:
1- In developer tools > Network: The api endpoint is publicly accesible
2- The api endpoint doesn't have any authbearer token to ensure safety of unauthorised access to api requests
I believe Issue 1 can be resolved with the use of Server Actions in Nextjs and by making the chat component a server action, it can be abstracted from client side so that the url won't be displayed under network tab anymore.
For issue 2 an auth api key can be issued ensuring no unauthorised remote access to the api endpoint even if they obtain the api endpoint url.
The text was updated successfully, but these errors were encountered:
https://colab.research.google.com/drive/1_FF0zzXwrqVVl1C1N5wZBf7hxnpGJyTY?usp=sharing
There are two potentially major issues:
1- In developer tools > Network: The api endpoint is publicly accesible
2- The api endpoint doesn't have any authbearer token to ensure safety of unauthorised access to api requests
I believe Issue 1 can be resolved with the use of Server Actions in Nextjs and by making the chat component a server action, it can be abstracted from client side so that the url won't be displayed under network tab anymore.
For issue 2 an auth api key can be issued ensuring no unauthorised remote access to the api endpoint even if they obtain the api endpoint url.
The text was updated successfully, but these errors were encountered: