-
# Problem
The framework requires the use of a secret which is adding an extra step to use authentication with sessions.
> *Secrets were firstly introduced based on the middleware `express-sessio…
-
Hi,
I'm using FoalTS for building my API and it works very great. But I need to produce a single output file with all requirements (node_modules, etc...) because I can't run a 'npm install' on my …
-
Hi, thanks for your time,
i have a function that generate a token and returns like:
```typescript
return sign(
{ sub: sub },
Config.get('settings.jwt.secretRefreshKey'),
…
-
Hi, is it possible to overwrite `passport-local`'s default response when the authentication parameters are not present? Because, as of now, it only reponds with "Bad Request" which isn't enough for th…
ghost updated
3 years ago
-
Hi,
I have controller that return HttpResponseOK
postMiddlewares not called
preMiddlewares work as expected
looking at the code i see that createMiddleware dont call next when exception is not…
-
# Problem
Logging users out in Foal is not simple and intuitive. It requires a lot of settings that one might not understand.
# Solution
Remove `extendLifeTimeOrUpdate` and `removeSessionCook…
-
# Issue
FoalTS offers a large set of components to use GraphQL in our applications. There is a dedicated page in the documentation for this but no real GraphQL tutorial to see how to use it in a co…
-
Hello guys, i want to know how is it possible to add classes that are not in the services folder to the dependency injection system, for my example i'm using graphql + TypeGraphQL, but i can't inject…
-
# Issue
FoalTS offers a large set of components to integrate OpenAPI & Swagger UI in our applications. There is a dedicated page in the documentation for this but no real OpenAPI / Swagger UI tuto…
-
I am getting this error when I try to register an user
TypeError [ERR_INVALID_ARG_TYPE]: The "password" argument must be one of type string, Buffer, TypedArray, or DataView. Received type undefined…