-
When I configure my login route as following:
``` js
router.post('/login', passport.authenticate('local', {
successRedirect: '/user/logout',
failureRedirect: '/user/login?wrong',
failureF…
-
Hi, awesome middleware!
I'm getting that error when i use local-strategy with this middleware.
The examples work perfectly but i get these errors when i use it by myself.
Here is my code.
``…
-
I was using koa-session.
While I set httpOnly prop like this:
``` javascript
var nickName = encodeURIComponent(userData.data.nick),
empId = encodeURIComponent(userData.data.empid);
var co…
-
I'm trying to use virgen-acl inside a (client-side) Handlebars template helper so my templates can contain something like:
```
{{#can "edit" blog}}Edit{{/can}}
```
The `can` helper gets the current …
-
I'm building a fairly unusual use-case of a koa app boilerplate and when I try to migrate to koa2, every response is `Content-Type: application/octet-stream` unless I manually overwrite. This includes…
-
The default setting put session in client cookie, is it safe? As I know cookie work in client and session just put an sessionId in client take session value in server side . koa-session without store…
-
had no issues on my other computer but when i try to use gekko on this computer i get an error. here is the full log...any suggestions?
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Pro…
-
as koa-generic-session has `this.sessionId`
-
http://api.rumors.hacktabl.org/login/facebook?redirect=/
Redirect 回來之後會變成
```
`appId` and `redirect` must be set before. Did you forget to go to /login/*?
```
上述訊息出自 https://github.com/MrOr…
MrOrz updated
7 years ago
-
* **Node Version**: v6.4.0
* **Egg Version**: latest
* **Plugin Name**: egg-leancloud
* **Plugin Version**: 1.0.0
* **Platform**: OS X
leancloud 官方的示例代码:
> ``` javascript
> // 查看个人…
kainy updated
7 years ago