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

Query parameter authentication #254

Merged
merged 2 commits into from
Nov 16, 2016
Merged

Query parameter authentication #254

merged 2 commits into from
Nov 16, 2016

Conversation

noazark
Copy link
Contributor

@noazark noazark commented Nov 16, 2016

This PR adds support for authenticating requests with a token in the url:

https://example.com/sql-explorer/query/1/?token=hello-world

The token is EXPLORER_TOKEN, the same as currently used with header based authentication. Query parameter authentication is useful in the cases where clients do not provide access to custom headers.

@chrisclark
Copy link
Collaborator

Looks great, thanks!

@chrisclark chrisclark merged commit d588411 into master Nov 16, 2016
@chrisclark chrisclark deleted the query-param-auth branch November 16, 2016 23:38
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.

2 participants