Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unsafe check for req.connection.encrypted in utils.js #15

Open
Shubachi opened this issue Aug 17, 2016 · 1 comment
Open

Unsafe check for req.connection.encrypted in utils.js #15

Shubachi opened this issue Aug 17, 2016 · 1 comment

Comments

@Shubachi
Copy link

https://github.com/jaredhanson/passport-http-oauth/blob/master/lib/passport-http-oauth/strategies/utils.js#L25

In particular, in koa, req.connection.encrypted defaults to 'keep-alive'

@jaredhanson
Copy link
Owner

That sounds like a problem with koa.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants