Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Add security to test_server #14

Open
robinmackaij opened this issue Dec 10, 2021 · 0 comments
Open

Add security to test_server #14

robinmackaij opened this issue Dec 10, 2021 · 0 comments

Comments

@robinmackaij
Copy link
Collaborator

robinmackaij commented Dec 10, 2021

To allow functional testing for 401 / 403 scenarios and the security options (user/password, auth, token) the test_server should implement the desired security options.

Desired support:

  • "open" endpoints
  • authenticated endpoints
  • role- or user-based authorized methods on endpoints (e.g. delete only by "admin")

Useful links:
https://blog.miguelgrinberg.com/post/api-authentication-with-tokens
https://christophergs.com/tutorials/ultimate-fastapi-tutorial-pt-10-auth-jwt/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant