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

Trying to create a login page and session authentication #44

Open
mark-bull opened this issue Feb 8, 2017 · 2 comments
Open

Trying to create a login page and session authentication #44

mark-bull opened this issue Feb 8, 2017 · 2 comments

Comments

@mark-bull
Copy link

Hello, firstly - great project, I have found this incredibly useful and thanks to all that have contributed!

I have got basic authentication working but it's fiddly having to enter the password... and parsing the credentials in the URL is insecure on public wifi connections.

I have tried using the wiki and the piece on auth_token to create a login page that then allows you to view the dashboard after login.

I would like to get a login form that is presented before the dashboard so that I can use auto-fill on my iOS browser to authorise and proceed from the login form. It only needs to be a simple 1 username and password - no DB, etc required.

Has anyone successfully done this with a login form that they can share?

Many thanks in advance!

@sjernigan
Copy link

We just use an authenticating reverse proxy in front of apps that don't offer their own auth. We use a local one, but here's one https://github.com/bitly/oauth2_proxy. There are all kinds of reasons that this is a better approach than building it into each app.

@mark-bull
Copy link
Author

Hi, thanks for the reply, I just want a simple 1 static username and password (per dashboard) to authenticate access from a login page. Can I use oauth2 to do this?

Many 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