Back

Is it possible for me to create an external websocket server from appwrte, and authenticate with ap

  • 0
  • Self Hosted
  • Accounts
Waldemar
9 Sep, 2023, 03:51

Hello everyone, I would like to know if if I create a websocket server external to appwrite, is there a way to authenticate a user using api or something like that...

TL;DR
User wants to know if it's possible to create an external websocket server from Appwrite and authenticate with API. They mention using an administrative key and performing server-side authentication. Solution: Yes, it is possible to authenticate users using Appwrite's Auth APIs and create a websocket server. Use an administrative key for authentication.
Drake
9 Sep, 2023, 04:50

Not sure what you mean and what about supabase? 🧐

D5
9 Sep, 2023, 05:31

If you mean authenticating users to use realtime, then you can do that if using both Auth and Appwrite realtime

Waldemar
9 Sep, 2023, 16:35

sorry, I just copied the same question from supabase, and as I was going to sleep I didn't pay attention that there was supabase there xD

Waldemar
9 Sep, 2023, 16:36

forgiveness for the mistake

Waldemar
9 Sep, 2023, 16:36

Is it possible for me to create an external websocket server from appwrte, and authenticate with ap

Waldemar
9 Sep, 2023, 16:37

I want to authenticate them using the server, not the client

Drake
9 Sep, 2023, 16:41

so you want to create a web socket server and you want that server to be able to talk to Appwrite and make API requests on behalf of an Appwrite user?

D5
9 Sep, 2023, 17:49

In Appwrite, the Auth is performed server side by default when you're using Auth APIs

Waldemar
9 Sep, 2023, 22:04

yep

Waldemar
9 Sep, 2023, 22:04

in fact I want to access everything using an administrative key from my account..

Drake
10 Sep, 2023, 01:06

Uhh why not use API key in your web socket server then?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more