Make authenticated request from python rest client
Im trying to make a POST request to a better-auth endpoint and even thjo the cookie is set the session/user is not being populated.
Example code:
4 Replies
use bearer plugin instead
Oh I thought that was discouraged
Ok! What's the technical reason it doesn't work with cookies
possible reason
- the token isn't signed
- the server is running in prod and is expecting a __Secure prefixed cookie
Aaah ok, thanks!