{"info":{"_postman_id":"5f221c80-15a9-4844-b5cf-ccd41f5302f6","name":"Forgot Password","description":"<html><head></head><body><p>Forgot Password Flow</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"31335509","collectionId":"5f221c80-15a9-4844-b5cf-ccd41f5302f6","publishedId":"2s9YkkgPSB","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-12-15T10:12:31.000Z"},"item":[{"name":"signup","id":"d71adb2b-ca79-47d3-a573-e050bf5990f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"okok@gmail.com\",\r\n    \"password\": \"example\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://forget-password-server.onrender.com/signup/newuser","description":"<p>Get the user data and store it in the dataBase</p>\n<p>Automatically send a email to the user for Authentication</p>\n<h2 id=\"request-format\">Request Format</h2>\n","urlObject":{"protocol":"https","path":["signup","newuser"],"host":["forget-password-server","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d71adb2b-ca79-47d3-a573-e050bf5990f9"},{"name":"login","id":"f1accb01-1e33-40e5-aaca-a3d42ff77a21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"oki@gmail.com\",\r\n    \"password\": \"example\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://forget-password-server.onrender.com/login/user","description":"<p>Get the user data and check the user details in the database</p>\n<h2 id=\"request-format\">Request Format</h2>\n","urlObject":{"protocol":"https","path":["login","user"],"host":["forget-password-server","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f1accb01-1e33-40e5-aaca-a3d42ff77a21"},{"name":"forgot passoword","id":"c4347c4e-bff9-44d6-958b-2c2f7e607e3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"oki@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://forget-password-server.onrender.com/forgot","description":"<p>Get the user email and check the user details in the database and send a Password Reset link to the User email</p>\n<h2 id=\"request-format\">Request Format</h2>\n","urlObject":{"protocol":"https","path":["forgot"],"host":["forget-password-server","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c4347c4e-bff9-44d6-958b-2c2f7e607e3f"},{"name":"verify reset page","id":"5f1faa31-9e96-425e-9519-215da4f2c6d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://forget-password-server.onrender.com/reset/:id/:token","description":"<p>When the User click the password reset email it will check the data and allow the user to update the new password</p>\n<h2 id=\"request-format\">Request Format</h2>\n<p><strong>PARAMS</strong></p>\n<p>/:id/:token</p>\n","urlObject":{"protocol":"https","path":["reset",":id",":token"],"host":["forget-password-server","onrender","com"],"query":[],"variable":[{"type":"any","value":"","key":"id"},{"type":"any","value":"","key":"token"}]}},"response":[],"_postman_id":"5f1faa31-9e96-425e-9519-215da4f2c6d7"},{"name":"update new password","id":"460de294-8181-443b-ab96-37b4bbc8863e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"https://forget-password-server.onrender.com/forgot","description":"<p>get the users new password and update it in the DataBase</p>\n<h2 id=\"request-format\">Request Format</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"newPassword\": \"123\",\n    \"confirmPassword\": \"123\"\n}\n\n</code></pre>","urlObject":{"protocol":"https","path":["forgot"],"host":["forget-password-server","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"460de294-8181-443b-ab96-37b4bbc8863e"}]}