anvilresearch / connect

A modern authorization server built to authenticate your users and protect your APIs
http://anvil.io
MIT License
361 stars 86 forks source link

Return array of strings from `authorizedScope` #307

Closed bauglir closed 8 years ago

bauglir commented 8 years ago

The authorizedScope method should return an array of strings. Before this fix it would return an array of arrays of strings. This would cause scopes assigned to clients through roles to not be properly picked up.

bauglir commented 8 years ago

This also removes the need for #259.