This repository was archived by the owner on Mar 22, 2022. It is now read-only.
This repository was archived by the owner on Mar 22, 2022. It is now read-only.
How to modify successRedirect in local authentication? #60
Closed
Description
I just tested to modify this option in the authentication argument list
.configure(authentication({
token:{
secret: 'InYATTDuYA'
},
local: {
usernameField:"username",
userEndpoint: userMountPoint
},
successRedirect: 'auth/changed'
but I got exception
You need to provide your 'clientID' and 'clientSecret' if using an OAuth2 provider or your 'consumerKey' and 'consumerSecret' if using an OAuth1 provider.
at /home/wuyuanyi/riddle-web/node_modules/feathers-authentication/lib/index.js:81:19
Is this desired behavior? maybe successRedirect is a private option?
Metadata
Metadata
Assignees
Labels
No labels