Questions tagged [feathers-authentication]
66 questions
0
votes
1 answer
User's permissions in feathers.js API
I'm trying to create some REST API with user roles like admin, superadmin etc.
I was trying to achieve this by using feathers-permissions module, but there are none working examples and the internet. Have you ever dealt with such task?
What I do now…

z0idb3rg
- 461
- 1
- 6
- 12
0
votes
1 answer
feathers-authentication-hooks: restrictToRoles for a user with more then one role
I have implemented feathers-authentication-hooks in my project and it is working verifying against a custom user column containing a role. Now I want to have it working with more then one role per user. I've trying several formats in the database…

Edgar Koster
- 479
- 1
- 5
- 18
0
votes
1 answer
How to read user info from passport-facebook
I have implemented the code to enable facebook authentication the following way:
const authentication = require('feathers-authentication');
const jwt = require('feathers-authentication-jwt');
const local =…

Niko Gamulin
- 66,025
- 95
- 221
- 286
0
votes
2 answers
Oauth2 github connection with feathersjs hosted on EC2
I have created an Oauth flow on github with a FeathersJS backend. When running this on localhost it is all working fine. Currently, I am testing the deployment to AWS on EC2 and on the EC2 instance, I can't get the flow to work. I get the…

Imre_G
- 2,468
- 1
- 17
- 33
0
votes
1 answer
How to join feathersjs jwt with mongoose?
I try to do login to my application using local users kept in mongodb. My application works on Node.js using feathersjs. After run the app I receive an error like below:
Error: You must provide a 'header' in your authentication configuration or pass…

SeaDog
- 645
- 1
- 9
- 32
-2
votes
2 answers
featherjs error: No authentication strategies allowed for creating a JWT (`jwtStrategies`)
After migrating to featherjs V4 (CROW) following the guide (https://crow.docs.feathersjs.com/migrating.html) the authentication no longer works.
Right after the migration to V4 i received an error that @featherjs/authentication-oauth was missing…

Anklud
- 1
- 3