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

Disable basic auth? #97

Closed
aehlke opened this issue Oct 20, 2016 · 2 comments
Closed

Disable basic auth? #97

aehlke opened this issue Oct 20, 2016 · 2 comments

Comments

@aehlke
Copy link

aehlke commented Oct 20, 2016

I'm trying to run pghero behind a GitHub OAuth2 proxy ( https://github.com/bitly/oauth2_proxy ). However I can't seem to get around the basic auth that pghero ships with.

Is there a way I can disable it so that I can rely only on the OAuth proxy?

@ankane
Copy link
Owner

ankane commented Oct 20, 2016

Hey @aehlke, basic auth is not enabled by default.

@ankane ankane closed this as completed Oct 20, 2016
@aehlke
Copy link
Author

aehlke commented Oct 20, 2016

I think I figured it out - despite uninstalling and reinstalling, the basic auth settings persisted in /etc/pghero/conf.d/other and there doesn't seem to be a way to "unset" a setting (like in heroku which this interface seems to mimic) so I was at a loss until I grepped my system for the credentials I tried setting. Thanks.

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

No branches or pull requests

2 participants