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

passport

Here are 1,390 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,
BrettKoenig
BrettKoenig commented Oct 11, 2019

I'm not sure if this will be included when the book is finished, but getting the config values for the .env file requires getting values from a lot of different sources and different configurations. It would be helpful if there was better documentation around that process.

I would love to submit a PR for it, but I haven't been able to figure all of it out myself yet.


<
1valdis
1valdis commented Aug 5, 2018

The Readme says:

maxInterval: specifies the maximum amount of time an account can be locked. Default 30000 (5 minutes)

But if it's the amount of milliseconds, then 30 000 ms is only 30 seconds but not 300 (which would be 5 minutes).

bicarlsen
bicarlsen commented Jul 20, 2019

This isn't a bug, but it took me quite a long time to figure out, so thought others have struggled with the same issue.

When using the authenticate method, one must remember to both return the result, and call the function with the context. I thought it may be useful to include this explicitly in the documentation.

I created a [Stack Overflow question](https://stackoverflow.com/questions

laravel5.5和vue.js结合的前后端分离项目模板,后端使用了laravel的LTS版本(5.5),前端使用了流行的vue-element-template项目。作为程序的起点,可以直接以此为基础来进行业务扩展。模板内容包括基础的用户管理和权限管理、日志管理、集成第三方登录,整合laravel-echo-server 实现了websocket 做到了消息的实时推送,并在此基础上,实现了聊天室和客服功能。权限管理包括后端Token认证和前端vue.js的动态权限,解决了前后端完整分离的情况下,vue.js的认证与权限相关的痛点,已在本人的多个项目中集成使用。

  • Updated Jun 7, 2020
  • PHP
datocrats-org
datocrats-org commented Feb 6, 2020

I retrieved the ICAO's master list version icaopkd-002-ml-000137.ldif which was referred to as "The latest collection of CSCA Master Lists." I attempted to parse from LDIF into the PEM format using scripts/extract.py and it caught some encoding errors see below.

# b'unable to load certificate
# \r\n14136:error:0D078094:asn1 encoding routines:asn1_item_embed_d2i:sequence length mismat

Improve this page

Add a description, image, and links to the passport topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the passport topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.