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
Make any plugin which accepts a request other than GET or OPTIONS
Execute a request to the plugin
See requirement for authentication
Expected Behavior
A plugin should be able to opt-out of authentication requirements
Additional Context
We should make the authentication requirement a default but allow plugins to opt-out. This will require moving the function which is enforcing this to be applied individually to core routes and then a test for plugin routes will need to be added.
The text was updated successfully, but these errors were encountered:
Description
Currently any Amphora plugin can only accept
GET
requests because of this line: https://github.com/clay/amphora/blob/master/lib/auth.js#L69Reported by @jjpaulino
Steps to Reproduce
Steps to reproduce the behavior:
GET
orOPTIONS
Expected Behavior
A plugin should be able to opt-out of authentication requirements
Additional Context
We should make the authentication requirement a default but allow plugins to opt-out. This will require moving the function which is enforcing this to be applied individually to core routes and then a test for plugin routes will need to be added.
The text was updated successfully, but these errors were encountered: