Open asb1301 opened 5 years ago
Hi there!
I don't think this is currently possible - sorry. But, it could be easily added - we DO manage this collaborators array, we just need to add a signer to it. Probably we would need to:
1) Add a new option for each client - I think here: https://github.com/knpuniversity/oauth2-client-bundle/blob/f6743e226083c4760021ec7a1743dd1af2bfbc45/src/DependencyInjection/KnpUOAuth2ClientExtension.php#L332-L349
2) Then check for that key and use it around here: https://github.com/knpuniversity/oauth2-client-bundle/blob/f6743e226083c4760021ec7a1743dd1af2bfbc45/src/DependencyInjection/KnpUOAuth2ClientExtension.php#L199
A PR would be warmly welcomed!
Cheers!
Problem with configuration generic ouath2-client: https://github.com/ekapusta/oauth2-esia
This client requires data (signer) in collaborators array in Provider construct
But through parameters in the yaml file, I can pass only the _provideroptions array. Is it possible to pass collaborators array with signer?