openclimatefix / pv-site-api

Site specific API for PV forecasting
5 stars 8 forks source link

Add basic authorization to the /sites* routes #83

Closed simlmx closed 1 year ago

simlmx commented 1 year ago

The caller of the routes must have a proper Bearer authorization header set.

This is a simplification of #82. I remove all my "dependency injection" fixes and only kept the authorization bits.