Questions tagged [feathers-authentication]
66 questions
0
votes
1 answer
FeathersJS: how to debug OAuth2 authentication process?
I've successfully used OAuth2 in a FeathersJS app to authenticate to Facebook, Github, etc... Now, I'm trying to us it to authenticate to a Wordpress server using the WordPress OAuth Server. I've configured it and set all configuration parameters to…

Jordi Blanch
- 187
- 1
- 11
0
votes
1 answer
@feathersjs/authentication-oauth2 not creating JWT and user
I cannot authenticate to a FeathersJS server using OAuth2 Facebook strategy because after Facebook grants access to user profile, the feathers-authentication-oauth2 plugin doesn't create the user into the DB and it also doesn't create the required…

Jordi Blanch
- 187
- 1
- 11
0
votes
1 answer
Why app.logout() not calls the remove method of the /authentication service on the Feathers server?
I use following code in client:
import frAppLib from '@feathersjs/feathers'
import frRestLib from '@feathersjs/rest-client'
import auth from '@feathersjs/authentication-client'
import { CookieStorage } from 'cookie-storage'
const cookieStorage = new…

tolyan
- 809
- 3
- 10
- 27
0
votes
1 answer
Hash password in sendResetPwd
When trying to reset password with feathers.js, vue and feathers-authentication-management appears that tokens and passwords are not hashed the same. I am looking for an recent application that does all the things that feathers authentication…

Byron Coughlin
- 101
- 9
0
votes
1 answer
FeatherJS- authenticate("jwt") - Authenticate but avoid calling User Get service?
In my single page application once I login with FeathersJS authentication I am passing my JWT token to the server for further service requests . In my service hook I am using authenticate("jwt") to check for authentication . It is working perfect ,…

Bujji
- 1,717
- 10
- 41
- 66
0
votes
1 answer
Feathersjs verify user via verifySignupShort pin code
I am working on a proof of concept using feathersJS for signing users up via phone number and verifying via sms and pin https://github.com/morenoh149/feathers-chat-phone-signup-sms
Currently I get the following error
$ sh curls/user-verify.sh…

Harry Moreno
- 10,231
- 7
- 64
- 116
0
votes
1 answer
User signup feathers-authentication with passport-facebook-token
I am trying to allow users to sign up for my service via "login with facebook".
I have already done arrow 1-2. I need to do arrows 3-6. I have made a minimal Feathersjs example at https://github.com/morenoh149/feathers-chat-facebook-signup-api
I…

Harry Moreno
- 10,231
- 7
- 64
- 116
0
votes
1 answer
How can I check user authentication in server with FeathersJS?
So currently, I am using feathers client auth and local strategy to authenticate my single-page app.
I've added different middleware routes and I want to check if user is authenticated and if not, redirect them to /.
This is one of my routes:
inside…

wobsoriano
- 12,348
- 24
- 92
- 162
0
votes
2 answers
How to get data from two or more mongo schema in a single api call in feathersJs?
i have configured a basic fathers setup with two services, users and messages(with mongoose) all API endpoints are working. but how do i create an extra endpoint in a service?
i am confused how would i develop a complete webapp only using the…

Rameez Rami
- 5,322
- 2
- 29
- 36
0
votes
2 answers
400 BadRequest: Missing Credential feathersjs authentication-local
I'm trying to authenticate a user using @feathersjs/authentication-local, Though I'm giving proper username & password, I get following response
{
"name": "BadRequest",
"message": "Missing credentials",
"code": 400,
"className":…

ARiF
- 1,079
- 10
- 23
0
votes
1 answer
FeathersJS: How to cancel the authentication hook using an error from a hook after it
I used app.authenticate on client.
It called the authentication hook in before create hook on server.
I imported from 'feathers-authentication-manage.hook' as verifyHooks.
Before create hook:
app.service('authentication').hooks({
before: {
…

Meteor_UN666
- 39
- 1
- 6
0
votes
1 answer
How do you add your own Oauth2 Passport strategy to a FeathersJS app?
Apologies in advance for what might be an obvious question/answer, but I keep scouring the docs and cannot find it.
I know FeathersJS has drop-in strategies for Facebook/Twitter/Github -- I see those in the docs. And I know you can do all sorts of…

Jared
- 562
- 1
- 6
- 22
0
votes
1 answer
Feathers JS authentication with no email
Im looking for an authentication system where the user submits to an enpoint and a jwt is generated at this endpoint, im not sure how to implement this, my client side application does not make use of email address or stored information, it is in…

Kravitz
- 2,769
- 6
- 26
- 53
0
votes
1 answer
Feathers: custom authentication, service vs. connection level
I'd like to use a simple but custom authentication routine with feathers, but fail to do understand how to implement it.
The requirement: Every client connection (websocket or REST) should have to provide a session token (which I establish by other…

hansonhill
- 149
- 1
- 9
0
votes
1 answer
Login-in by roles feathers-authentication
i have two users in database and they have the same email and password, but different roles. It look like:
email pass roles
+------------+------+-------
1@gmail.com 123 user
1@gmail.com 123 admin
and when user try to login…

user3127658
- 105
- 8