Clone this wiki locally
as OAuth Client
as OAuth Server
Note for OAuth Server Implementers
This gem is designed for those who understand OAuth RFCs.
Using this gem, you need to define these things by yourself.
- Client Management Policy
- API Security Policy
- API Scope Design
- Token Design (lifetime, opaque string or JWT etc.)
Rack::OAuth2.debug!, then you'll see all HTTP requests after that line in the log.
In Rails, you'll need to set
Rack::OAuth2.logger = Rails.logger.
Rack::OAuth2.debug! Rack::OAuth2.logger = Rails.logger