Comments (3)
I've added a message parameter for the logout request and if you pass in a message it will display it when logging out. It should work as expected now.
As for the forget password request, in the login form you must first type in your email and then hit forgot password. Also do you have your gmail credentials set in environment variables?
from feathers-vue.
I'm sorry but I should have mentioned I'm trying to achieve this via REST services. I have my own frontend client set up, but I'm using FeathersJS in the backend. I want to logout and reset password via REST services. Yes, I've set the Gmail email and password in the environment variables and it's working great in your app. Can you help out with REST?
from feathers-vue.
If you want to see a request being made, pull down the latest code I pushed, use .configure(rest(url).axios(axios))
instead of the .configure(socketio(socket))
in feathers.service.js
under app/services/api. Then in your chrome developer tools (cmd + option + i) you can visit the network tab before you make the request and see.
It looks like the feathers.logout method doesn't send an api request, it just destroys the local cookie and user information client side.
For forgot password its
http://localhost:3030/api/authManagement
POST
Headers: Authorization: token
Data: {
"action": "sendResetPwd",
"value": {
"email": "your email"
}
}
from feathers-vue.
Related Issues (11)
- Npm run serve Failed HOT 5
- FYI install and yarn dev warnings
- Unable to create any service on top of your repo,, Error: Cannot read property 'call' of undefined HOT 5
- pug is not a loader error, new routes not generating
- realtime HOT 4
- Couldn't find env file HOT 2
- Unverified user is able to login HOT 3
- Authentication via REST? HOT 2
- Please make it possible to use with other DB backends HOT 2
- Make the cordova branch framework agnostic HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feathers-vue.