passport-openidconnect icon indicating copy to clipboard operation
passport-openidconnect copied to clipboard

Provide an option to authenticate using header for testing

Open purejgleason opened this issue 3 years ago • 1 comments

I have a situation where I am logging in using a username and password using Auth0. I would like to be able to use the access token I get without a browser (testing uses supertest). I tried using JWT as an alternative strategy alongside this one but having other issues.

Would it be possible to add the Authorization header as a way to log in for testing?

purejgleason avatar Sep 16 '21 12:09 purejgleason

It is unclear to me how adding an Authorization header would help with testing, specifically in relation to this strategy. Could you provide more information?

jaredhanson avatar Nov 12 '21 22:11 jaredhanson