Skip to content

plugins: allow custom middlewares#267

Open
tellnes wants to merge 1 commit intorlidwka:masterfrom
tellnes:plugin-middleware
Open

plugins: allow custom middlewares#267
tellnes wants to merge 1 commit intorlidwka:masterfrom
tellnes:plugin-middleware

Conversation

@tellnes
Copy link
Copy Markdown

@tellnes tellnes commented Jun 16, 2015

This allows you to implement custom authentication flows which is not
username/password related. Eg. it let you implement authentication based
on remote ip address.

I've just added it for the api routes. Maybe the method, to be implemented in the plugins, should be named middleware_api and middleware_web?

This allows you to implement custom authentication flows which is not
username/password related. Eg. it let you implement authentication based
on remote ip address.
@ChadKillingsworth
Copy link
Copy Markdown

I would love this to be merged. I need it to require authentication and publishing to user 'https' but still allow anonymous access via 'http'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants