jaredhanson / passport-http

HTTP Basic and Digest authentication strategies for Passport and Node.js.

Home Page:https://www.passportjs.org/packages/passport-http/?utm_source=github&utm_medium=referral&utm_campaign=passport-http&utm_content=about

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to login from HTML form?

Andrewyg opened this issue · comments

How to login from HTML form if I'm using passport-http not passport-local since I'm using http is b/c it can be used by postman but now I don't know how to send login request using html form

The html form works fine when I'm using passport-local but since I change to passport-http it does not work

passport-local can be used from postman too. You should use passport-local if you want to use form.