GithubHelp home page GithubHelp logo

Comments (3)

codingfriend1 avatar codingfriend1 commented on May 16, 2024

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.

mfarees avatar mfarees commented on May 16, 2024

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.

codingfriend1 avatar codingfriend1 commented on May 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.