thomseddon/node-oauth2-server — pull request #65 by mjsalinger (2014-05-13 13:45:59+00:00)
Title: Added ability for client to have multiple redirect URIs which are valid.

The OAuth 2 spec envisions that an individual client can have several redirect URIs that are valid for a given clientId. This change allows the redirect_uri returned from the model to be either a string or an array. Added test for an invalid URI when multiple URIs are returned. Also added tests for valid URIs when either a string or an Array is returned from getClient.