The Wayback Machine - https://web.archive.org/web/20200904022415/https://github.com/topics/heroku
Skip to content
#

Heroku

heroku logo

Heroku is a platform as a service (PaaS) that enables developers to build, run, and operate applications entirely in the cloud.

Here are 6,965 public repositories matching this topic...

juanda99
juanda99 commented Sep 30, 2016

It would be better to use bcrypt, beause its more secure as it's slower (uses more computing cycles).
Your code could also be better:

You wouldn't need salt field in User model, because it's saved into the same field as password does.

For authentication, something like:

var mongoose = require('mongoose'),
  bcrypt = require('bcryptjs');

var userSchema = mongoose.Schema({
  email: String,
chatwoot
pranavrajs
pranavrajs commented Jul 15, 2020

When the users change their Facebook password, the page access token gets invalidated. To overcome this, ask the user to reauthorize the Facebook connection

Acceptance Criteria

  • Run a cronjob every day to find the invalid token, mark the integration as invalid/needs-reauthorization
  • If the flag is set, show a message in the frontend to reauthorize

https://developers.faceboo

reichert621
reichert621 commented Sep 2, 2020

Right now we only set the ip and last_seen_at fields when a customer record is created. Let's update the customer update_metadata endpoint (https://github.com/papercups-io/papercups/blob/master/lib/chat_api_web/controllers/customer_controller.ex#L58) so that it also handles this.

(I think we can just default the last_seen_at field to the current timestamp for now.)

Organization
heroku
Website
www.heroku.com
Wikipedia
Wikipedia
You can’t perform that action at this time.