Skip to content
This repository was archived by the owner on Dec 8, 2024. It is now read-only.

Conversation

@bergos
Copy link
Collaborator

@bergos bergos commented May 18, 2020

Adds passport to handle authn basic and bearer token authentication. Basic authentication is used for the operator to login with the credentials given as env vars. The operator can create admin users with random UUID authn tokens. /login is the route for the basic authentication, /token for the bearer token. Sessions are used for both authentication methods. The mocha tests show how to create new users.

@bergos bergos requested a review from Narigo May 20, 2020 22:03
@bergos bergos changed the title WIP: Minimal user management with basic and token authn Minimal user management with basic and token authn May 20, 2020
@Narigo Narigo added this to the Beta milestone Jun 1, 2020
@Narigo
Copy link
Contributor

Narigo commented Jun 2, 2020

The conflicts need to be resolved first. This PR should fix #7

Signed-off-by: Joern Bernhardt <[email protected]>
@Narigo
Copy link
Contributor

Narigo commented Jun 4, 2020

I've committed a merge with resolved conflicts, but it won't work without adding more stuff in the frontend. Especially the user flow in the frontend is something we need to think about first. I'll mark this as blocked until then

@Narigo Narigo added the 🚫 blocked This issue is blocked by something label Jun 4, 2020
@Narigo Narigo mentioned this pull request Jun 5, 2020
3 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

🚫 blocked This issue is blocked by something

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants