Any idea how to implement it easily? What came in my mind was changing doctrine type of $redirectUri property to simple_array, which would not cause a BC break but potentially if anyone used it with commas in url (who does that? 😄) it would stop work for him.
Another idea was to use json_array, but that would be a BC break as it would require change of data structure in db.
Maybe creating next property and pick the one which is not null?
Hi there!
league/oauth2-server supports multiple redirect uris for each client -> https://github.com/thephpleague/oauth2-server/blob/master/src/Grant/AuthCodeGrant.php#L246
Any idea how to implement it easily? What came in my mind was changing doctrine type of
$redirectUri
property tosimple_array
, which would not cause a BC break but potentially if anyone used it with commas in url (who does that? 😄) it would stop work for him.Another idea was to use
json_array
, but that would be a BC break as it would require change of data structure in db.Maybe creating next property and pick the one which is not null?