Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugins: allow custom middlewares #267

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tellnes
Copy link

@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

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.

None yet

2 participants