mpellegrini / fullstack-typescript-monorepo-starter

1 stars 1 forks source link

fix(packages/api): return the token via the signup call #145

Closed mpellegrini closed 1 month ago

mpellegrini commented 1 month ago

Setting the Cookie in the API doesn't work when the API is running outside the web application.

Should not set cookies in the API layer as it is a higher-order concern. So just return the token from the API call and let the upstream caller decide what to do with it.