exop-group / doorkeeper-device_authorization_grant

OAuth 2.0 Device Authorization Grant extension for Doorkeeper
https://rubygems.org/gems/doorkeeper-device_authorization_grant
MIT License
30 stars 9 forks source link

Fix scopes handling #4

Closed marco-nicola closed 3 years ago

marco-nicola commented 3 years ago

The scope passed from client requests was ignored, and the resulting access token scope was always the default one. This has been fixed, and Doorkeeper's enforce_configured_scopes setting is also honored (refer to https://doorkeeper.gitbook.io/guides/ruby-on-rails/scopes).