Questions tagged [feathersjs]

Feathers is a library that extends Express with the ability to easily create shared RESTful web services and real-time APIs using SocketIO and other websocket libraries.

Feathers is a library that extends Express with the ability to easily create shared RESTful web services and real-time APIs using SocketIO and other websocket libraries.

Useful links

Related tags

859 questions
6
votes
0 answers

Social login on Android with Feathers JS back end

I want to connect my Android and iOS app to Feathers JS back end. To authenticate users, I want to have social (Google and Facebook) logins at the client side using the respective SDKs. Now, I want to have an authorization mechanism also in my…
jaibatrik
  • 6,770
  • 9
  • 33
  • 62
5
votes
2 answers

How can I change the JWT expire time in FeathersJS?

I was looking at this question on how to set the sub claim of a JWT in FeathersJS, but when I print hook.params, there is no jwt in there. Only authenticated, query, route, provider, headers, user and payload. So I remain with the question: how can…
Sven Deckers
  • 301
  • 1
  • 8
5
votes
2 answers

How to query many to many relation in sequelize

I've been using feathersjs/nodejs over postgres db via sequelize. In my db i have Users table and Events table. They are twice in relation: events.belongsTo(models.users, { foreignKey: { name: 'creatorId', allowNull: false }, …
Kerim092
  • 1,367
  • 1
  • 12
  • 32
5
votes
2 answers

How to redirect from a feathers.js service

I have a feathers.js service and I need to redirect to a specific page when using post class Payment { // .. create(data, params) { // do some logic // redirect to an other page with 301|302 return…
Alexandru Olaru
  • 6,842
  • 6
  • 27
  • 53
5
votes
3 answers

How resolve request entity too large error in feathersjs?

I'm uploading csv file in feathers service and the file size is 203kb, it throw an error request entity too large error something like this. error: { "name": "GeneralError", "message": "request entity too large", "code": 500, …
KARTHIKEYAN.A
  • 18,210
  • 6
  • 124
  • 133
5
votes
2 answers

How to disable pagination in feathers service?

Hi I try populate my datatable using feathers service in this way: app.service('pupils').find({}, (error, result) => { $('#pupils > table').DataTable({ "pageLength": view.short, "lengthChange": false, "info" : false, …
SeaDog
  • 645
  • 1
  • 9
  • 32
5
votes
1 answer

Feathers Js Restrict Access To Page on Server Side

I'm using feathers.js and am trying to restrict access to the payment-info.html page to users that are logged in. const app = feathers(); app.configure(configuration(path.join(__dirname, '..'))); app.use(compress()) .options('*', cors()) …
lukeinator
  • 53
  • 4
5
votes
2 answers

Authenticate with simple rest call using feathersjs

I know that I can use the feathers JavaScript client lib to retrieve a security token. But I would like to use C# fronted to connect to a feathersjs backend. Is it possible to retrieve the security token using a simple rest call. I know that there…
rogergl
  • 3,501
  • 2
  • 30
  • 49
4
votes
1 answer

Feathers js - how to login by google

I am following the doc to create google strategy. When I access http://localhost:3030/oauth/google through browser, below error occurs: Error Code 400: redirect_uri_mismatch The redirect URI in the request, https://localhost/oauth/google/callback,…
CCCC
  • 5,665
  • 4
  • 41
  • 88
4
votes
3 answers

ts-node-dev doesn't apply changes in auto reload

I have built an application using FeathersJS in Typescript but althought the nodemon for typescript (ts-node-dev) says that the server has restarted when a typescript file is changed, the change is not applyed. I always need to kill the application…
4
votes
1 answer

What is the correct way to add a Custom Authentication strategy to a Feathers application?

My Feathers application needs to be able to have two JWT authentication strategies. For the users service, I need to have, for example, all: [authenticate('carrier')] instead of all: [authenticate('jwt')] in my hooks. For the rest of the services,…
Kashif Nazar
  • 20,775
  • 5
  • 29
  • 46
4
votes
1 answer

FeathersJs authenticate returning NotAuthenticated: Invalid login

I am following the official guide of feathers js authenticate https://docs.feathersjs.com/guides/chat/authentication.html but it seems like even after following the guide step by step I am unable to generate tokens. Here is the body of my request to…
Assad Ullah
  • 785
  • 6
  • 12
4
votes
1 answer

FeathersJS: Creating a record inside a hook

I am new to FeathersJS and I am trying to do the following: My app has two entities named Company and User. When someone registers a new company the name, email and a password for the owner are informed. Then, after creating the record for the…
Ed de Almeida
  • 3,675
  • 4
  • 25
  • 57
4
votes
1 answer

Feathers JS - Create multi entries - dumb question

following the documentation I realize there's an option to allow bulk creation, but I don't understand where and how to set the option, here the code: // Initializes the `test` service on path `/test` const createService =…
Arc009
  • 43
  • 4
4
votes
1 answer

TypeScript - Cannot import self in types override in other types root, TS7016

I am working with FeathersJS and TypeScript. As it is still under development (TS for Feathers) I found that I need to override types for that to be able to adjust to my case (e.g. pagination can be disabled or enabled and types should handle it but…
Marek Urbanowicz
  • 12,659
  • 16
  • 62
  • 87
1
2
3
57 58