-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
Which Umbraco version are you using?
12.0.0-17.1.0
Bug summary
Since the introduction of the Delivery API, the DeliveryApiAccessAttribute that handles authorization for endpoints has been internal.
Whilst it's clear the Delivery API is not really intended to be extended, it is possible to register new controllers extending the base classes and under the same /umbraco/api/delivery routes.
This could be helpful in projects where you want a specific endpoint within the Delivery API groups (e.g. for client generation) or for package authors looking to ship their own APIs for front-end consumption.
Currently (AFAIK) you have to role your own Delivery API auth logic, which isn't ideal.
Specifics
No response
Steps to reproduce
N/A
Expected result / actual result
Ideally we should make DeliveryApiAccessAttribute public so it can be used by packages and consuming projects.