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

Allow users to only apply the middleware to specific paths #151

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

adamnengland
Copy link

I have added an optional param to the middleware definition. The user can specify a regex to restrict the paths that the OAuthFilter will act upon. If no param is supplied, the OAuthFilter will operate on all URLs (the current functionality is the default).

adamnengland and others added 3 commits March 18, 2015 13:52
Treat path a string, not a raw regex

Cleanup

Documentation
Bump OAuth-Ruby gem requirement to latest version
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.

1 participant