Questions tagged [feathers-authentication]
66 questions
0
votes
0 answers
Implement change password functionality in feathersjs project
I am actually trying to implement change password functionality in my feathersjs project. what basically I am trying to do is, I am receiving input from user (old-password and new-password), first I have to compare the hash of this old-password with…

Sibtain Wani
- 89
- 1
- 9
0
votes
2 answers
Sign-up procedure design using Feathersjs
I have a question regarding the design of the sign-up procedure using FeatherJS for the back-end of my application.
The problem I'm facing is the following:
I want a user to be able to sign-up his organisation/company using his/her email and a…

sgandolfo
- 15
- 4
0
votes
2 answers
How do I properly test permissions using Featherjs & Postman?
First of all, I would like to mention that I'm fairly new to coding so pardon my probably stupid question.
So I'm developing an application using FeatherJS and in my application I would like to use permissions to ensure that certain users are…

sgandolfo
- 15
- 4
0
votes
1 answer
How can I get specific errors when trying to login using feathers.js
Whenever I try to login with the correct user and correct password everything is fine, but whenever I try to login with a not existing user or a mistaken password I just get the same mistake which is:
{
"name": "NotAuthenticated",
"message":…

Rene Polo
- 831
- 7
- 18
0
votes
1 answer
feathersJS custom authentication
im trying to create an auth with feathersJS. im not there when they did it from the beginning they create the services MANUALLY, meaning they did not use the command "feathers generate service", now, everything works fine. but now they want me to…
0
votes
1 answer
Change message in auth feathers js
I'm trying to change the message of sendResetPwd on feather auth management because he has security issues, I think
I have this result
BadRequest: User not found.
at new BadRequest (node_modules/@feathersjs/errors/lib/index.js:86:17)
at…

Carlos Vieira
- 559
- 2
- 10
- 22
0
votes
1 answer
FeathersJs: context.params.user returning undefined in before hook
I'm getting undefined when I try to assign user._id to an entity in a before hook.
The hook
module.exports = (options = {}) => {
return async context => {
const user = context.params.user;
context.data = {
...
userId: user._id,
...
…

Aosu Terver
- 117
- 2
- 6
0
votes
1 answer
On reset password, how do I avoid error 400 from Feathersjs?
Attempting email confirmation using feathers-authentication-management. I followed a tutorial by Imre Gelens, which is based on an older tutorial by Jon Paul Miles.
Verify Signup and Password Reset both completely work in development, but Verify…

user2093191
- 43
- 3
- 7
0
votes
1 answer
prevent authentication for users with a certain status
I have started a very simple app using the feathers generator. I would like to how I can add a hook to the authentication endpoint to prevent a user from logging in if their status is set to 'blocked'.
I know how to create hooks on the users…

Chris Tasker
- 1
- 1
0
votes
0 answers
How to return result that belongs to user and restrict other data being sent in the result in FeathersJS?
I am new to feathersjs and I've breaking my head on how to restrict users from viewing other's data. For instance from postman when you do find/get(id) http://localhost/users you see list of all the users that are currently registered. However I…

B A
- 21
- 5
0
votes
1 answer
What is class in feathersjs and how to implement
Am new to feathersjs am try to do local auth in feathers while creating the service under users.class.js file where there. i don't know what to implement there so kindly guide me with this
const { Service } =…

Kamalesh Sivaraj
- 61
- 9
0
votes
2 answers
Logout using FeathersJS REST API
Using freshly generated FeathersJS application (local auth), I am doing following REST api calls with following behaviour:
GET /users - it FAILS with not-authorized
POST /authentication with username and password - successful
GET /users - it…

Martins Untals
- 2,128
- 2
- 18
- 31
0
votes
1 answer
Featherjs authentication: Login using OTP
I'm using local strategy for authentication purpose using featherjs framework.
Besides username and password auth mechanism, client wants to login using username and OTP.
Can someone provide me hint, how can I achieve this?
I've studied existing…

Sushil Kadu
- 314
- 3
- 7
0
votes
1 answer
Feathers client (@feathers/client) is unable to authenticate a username/password in an ReactJs app
According to the Featherjs Client Authentication docs, I have setup and initialised the module in my React App. After that on my Login button click, I call the recommended app.authenticate(data) method with the correct data format. This results in…

Byte IT Antwerpen
- 63
- 1
- 10
0
votes
1 answer
FeathersJS: REST authentication of an OAuth user
I've created a FeathersJS backend app and a React frontend app. I'm using OAuth2 strategy to authenticate users to my own WordPress site. Everything is working fine. But now I'd like the users to be able to access my FeathersJS backend REST API, but…

Jordi Blanch
- 187
- 1
- 11