-
Notifications
You must be signed in to change notification settings - Fork 1
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
Authentication & Initial "/user/me" implementation #100
Conversation
#96 😉 |
Es scheint ein file nicht korrekt formatiert zu sein, siehe backend Job. |
Nein, die e2e tests die eingerichtet wurden sind nur einfach falsch eingerichtet und funktionieren nicht mit der Datenbank. Es ist alles korrekt formatiert. |
@benedictweis Da nur die e2e-Tests nicht ausgeführt weerden können (sonst aber alles geht) würde ich vorschlagen den gefailten Test zu ignorieren, da die Environment-Konfiguration bisher noch nicht im Main ist - das können wir dann ja in einer separaten PR machen. |
Alles klar, machen wir so |
Ich schau den PR später durch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sehr guter PR 👏, sehr lesbarer Code und gut strukturierte Tests. Well done 👍
Co-authored-by: Benedict Weis <[email protected]>
This PR adds authentication with the example user via Basic Auth, using the passport module.
This is implemented for early testing. When using this module, all protected endpoints must be called with valid credentials, otherwise the server will respond with 401.
The currently logged in user will be available via "req.user" in the respective controllers.
This closes #94.