You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a proposal for updating the AuthConfig. I am looking for comments and feedback on approach before modifying the existing setup.
The current AuthConfig for the lyric data provider requests a list of HTTP Verbs for enabling auth for data access. In practice, we want all auth enabled by default. Instead of configuring auth by verbs, we should include functional groups of endpoints that we can opt to disable auth for.
The expected case for this is a data repository that allows public read of submitted data but restricts writes.
Details
Remove ProtectedMethods array from auth (and from config options in server implementation).
Ensure auth is always enabled by default
Update the auth config to include the following options
allowPublicReadData
allowPublicWriteData
allowPublicManageCategoriesAndDictionaries
If any of the allow options are enabled, functions that perform the listed action will not perform any auth checks on the incoming requests.
Note
There may be some endpoints that do not have any auth enabled by default, these are unaffected by this issue.
Summary of request
This is a proposal for updating the AuthConfig. I am looking for comments and feedback on approach before modifying the existing setup.
The current AuthConfig for the lyric data provider requests a list of HTTP Verbs for enabling auth for data access. In practice, we want all auth enabled by default. Instead of configuring auth by verbs, we should include functional groups of endpoints that we can opt to disable auth for.
The expected case for this is a data repository that allows public read of submitted data but restricts writes.
Details
If any of the allow options are enabled, functions that perform the listed action will not perform any auth checks on the incoming requests.
Note
There may be some endpoints that do not have any auth enabled by default, these are unaffected by this issue.