Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Provide an option to authenticate using header for testing #90

Open
purejgleason opened this issue Sep 16, 2021 · 1 comment
Open

Provide an option to authenticate using header for testing #90

purejgleason opened this issue Sep 16, 2021 · 1 comment
Labels
question Request for help or support

Comments

@purejgleason
Copy link

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?

@jaredhanson jaredhanson added the question Request for help or support label Nov 12, 2021
@jaredhanson
Copy link
Owner

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Request for help or support
Projects
None yet
Development

No branches or pull requests

2 participants