Back

Create (jwt) session server side

  • 0
  • Self Hosted
  • Web
MaximumMaxx
22 Jun, 2023, 17:57

Is it possible to login a user server side? The account api seems to be limited in the Node sdk to only verifying sessions. I’d ideally like my app to work without JS so having to use a client sdk for login is annoying.

See: Lack of session creation on servers

TL;DR
User is looking to create a server-side session for JWT. They mention that the Appwrite REST API can be used but it requires handling cookies. They are asking if it is possible to login a user server-side without using the client SDK. They also mention the lack of session creation on servers.
Binyamin
22 Jun, 2023, 18:03

Not out of the box. You'll need to use Appwrite REST api and take care of all the cookies

MaximumMaxx
22 Jun, 2023, 18:17

Oh sweet. The almost app link looks useful. Thanks

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