sails-auth icon indicating copy to clipboard operation
sails-auth copied to clipboard

Sails-Auth req.secure Override

Open ayyappaappana opened this issue 10 years ago • 4 comments

How to override req.secure to work even if it is http request. http://localhost:80/user/:userid/something

{ error: "https required for basic auth. refusing login request" }

xyzController is having BasicAuth policy is extended for the Endpoint Action.

ayyappaappana avatar Sep 24 '15 12:09 ayyappaappana

+1

sylvainlap avatar Sep 30 '15 10:09 sylvainlap

securityLevel is a CORS options in sails. What is the connection ?

sylvainlap avatar Sep 30 '15 11:09 sylvainlap

@sylvainlap Yes your correct, did you got any solution.?

ayyappaappana avatar Oct 01 '15 07:10 ayyappaappana

It has been fixed by https://github.com/tjwebb/sails-auth/pull/100

sylvainlap avatar Oct 01 '15 08:10 sylvainlap