No opinion. I’ve implemented a server myself once. Hard part is to understand OAuth. Implementation isn’t that bad and something like https://oauth2.thephpleague.com/ could help.
I’ve implemented PHP League OAuth2 library recently - difficult part of it was to wrap Yii’s Response and Request objects into PSR-7 compatible classes (as we can expect it in Yii 3) the rest is quite straightforward.
Hi,
How did you manage to tie that with identity interface? I think that is the most difficult stage. As of wrapping reponse, you can use Zend diactoros and skip Yii requests where possible and play the two together in the rest!