lunakv / academyruins-api

Rules API for Magic: The Gathering
https://api.academyruins.com/docs
GNU Affero General Public License v3.0
4 stars 1 forks source link

Use HTTP Basic Auth for admin endpoints #31

Open lunakv opened 1 year ago

lunakv commented 1 year ago

Instead of sending the admin password through the query string, it would be a better idea to use regular HTTP basic auth for admin authentication. FastAPI seems to have basic support for it built in.