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

Rails 4 compatibility with bearer and client credential support #73

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

Conversation

adam-at-mobomo
Copy link

This adds bearer and client credential support (from https://github.com/GSA/oauth2-provider/tree/bearer-header) to #72 (Rails 4.1 compatibility). This is very much like a combination of #48, #66 (just the one line supporting "Bearer" and additional test), and #72.

The following changes enable Rails 4 support, while also maintaining compatibility with Rails 3.2+

1. Call attr_accessible only when using ActiveRecord < 4 or when using the 'protected attributes' gem
2. Rename the longest database index to allow tests to run in Rails 4
3. Update the README regarding the use of filtered params
4. Change gemspec and require statements to remove references to protected_attributes, and allow ActiveRecord > 3.2
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