Closed nsainaney closed 1 year ago
I have a service that is authenticated RSA256 JWT tokens. The service runs in kubernetes and doesn't have an entity associated.
If entity is left bank in config files, the entity is undefined and not null. Should this check for undefined or be:
undefined
null
entity !== null and entity !== undefined
https://github.com/feathersjs/feathers/blob/a6ba4dfd08f537a7d4778bed4c45091cbe3802aa/packages/authentication/src/service.ts#L181
Sorry - just found the docs on stateless JWT
I have a service that is authenticated RSA256 JWT tokens. The service runs in kubernetes and doesn't have an entity associated.
If entity is left bank in config files, the entity is
undefined
and notnull
. Should this check forundefined
or be:entity !== null and entity !== undefined
https://github.com/feathersjs/feathers/blob/a6ba4dfd08f537a7d4778bed4c45091cbe3802aa/packages/authentication/src/service.ts#L181