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

Add Token Authentication through HTTP Authorization header #5

Merged
merged 5 commits into from
Feb 21, 2020

Conversation

jamescun
Copy link
Owner

Adds support for passing in multiple tokens, either by command line argument or environment variables, that are required in the Authorization header before WG-API will execute the request.

Adding the environment variable was a little hacky, seek to refactor this á la issue #4. Middleware construction also may need to be refactored.

Fixes #2

@jamescun jamescun merged commit bc85809 into master Feb 21, 2020
@jamescun jamescun deleted the token-auth branch February 21, 2020 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Authentication: Tokens
1 participant