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

Remove some remaining authentication remnants #593

Merged
merged 3 commits into from
Jun 29, 2017

Conversation

harrisj
Copy link
Contributor

@harrisj harrisj commented Jun 29, 2017

When they first created this app, they used a Flask skeleton app which had support for user login and the like. This API has no user logins (only a single shared token used by the API frontend proxy), so I removed most of that in PR #121

But there were some references to setting a SECRET in the docs and in the environment variable, so need to clean those up.

Also, removing http_auth which was only there for protecting the Swagger.json page before we started ATO process.

When they first created this app, they used a Flask skeleton app which
had support for user login and the like. This API has no user
logins (only a single shared token used by the API frontend proxy), so
I removed most of that in PR #121

But there were some references to setting a SECRET in the docs and in
the environment variable, so need to clean those up.

Also, removing http auth which was only there for protecting the
Swagger.json page before we started ATO process.
@cacraig
Copy link
Contributor

cacraig commented Jun 29, 2017

@harrisj - The tests seem to have failed on this one.

E RuntimeError: The Flask-DebugToolbar requires the 'SECRET_KEY' config var to be set

@harrisj
Copy link
Contributor Author

harrisj commented Jun 29, 2017

Yep, I decided to go ahead and yank out some of the debugging bits (like the Flask Toolbar) and the asset pipelines and templating that were being used only by our error pages.

@harrisj
Copy link
Contributor Author

harrisj commented Jun 29, 2017

Tests now pass. This is good for review again @cacraig

@cacraig
Copy link
Contributor

cacraig commented Jun 29, 2017

Merging!

@cacraig cacraig merged commit 1183e5e into master Jun 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants