Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nov/rack-oauth2
OAuth 2.0 Server & Client Library. Both Bearer and MAC token type are supported.
https://github.com/nov/rack-oauth2
oauth oauth-client oauth-server oauth2
Last synced: 22 days ago
JSON representation
OAuth 2.0 Server & Client Library. Both Bearer and MAC token type are supported.
- Host: GitHub
- URL: https://github.com/nov/rack-oauth2
- Owner: nov
- License: mit
- Created: 2010-09-09T18:11:40.000Z (about 14 years ago)
- Default Branch: main
- Last Pushed: 2024-01-09T15:41:10.000Z (10 months ago)
- Last Synced: 2024-10-11T21:36:20.209Z (25 days ago)
- Topics: oauth, oauth-client, oauth-server, oauth2
- Language: Ruby
- Homepage:
- Size: 567 KB
- Stars: 695
- Watchers: 21
- Forks: 119
- Open Issues: 3
-
Metadata Files:
- Readme: README.rdoc
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
= rack-oauth2
OAuth 2.0 Server & Client Library.
Both Bearer token type are supported.The OAuth 2.0 Authorization Framework (RFC 6749)
http://www.rfc-editor.org/rfc/rfc6749.txtThe OAuth 2.0 Authorization Framework: Bearer Token Usage (RFC 6750)
http://tools.ietf.org/html/draft-ietf-oauth-v2-bearer-06== Installation
gem install rack-oauth2
== Resources
* View Source on GitHub (https://github.com/nov/rack-oauth2)
* Docs on GitHub (https://github.com/nov/rack-oauth2/wiki)
* Report Issues on GitHub (https://github.com/nov/rack-oauth2/issues)== Sample Server Application (Rails3)
=== Bearer
Source on GitHub
https://github.com/nov/rack-oauth2-sample== Sample Client
Authorization Request (request_type: 'code' and 'token')
https://gist.github.com/862393Token Request (grant_type: 'client_credentials', 'password', 'authorization_code' and 'refresh_token')
https://gist.github.com/883541Resource Request (request both for resource owner resource and for client resource)
https://gist.github.com/883575== Note on Patches/Pull Requests
* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
future version unintentionally.
* Commit, do not mess with rakefile, version, or history.
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
* Send me a pull request. Bonus points for topic branches.== Copyright
Copyright (c) 2010 nov matake. See LICENSE for details.