Open lucifer-crybaby opened 1 year ago
This is something that needs to be done. Any contribution is welcome (could be "just" sharing what you did to achieve in this issue or even coming up with a PR). Once we get something satisfying, part of that logic should end up being moved to the oauth2-server library.
I started with this. Well others started, but now I will finish it.
Right now you can just overwrite the 5th argument (the default response) with a IdTokenResponse service (CompilerPassInterface). The IdTokenResponse is basically adding an id_token parameter on an openid scope.
https://symfony.com/doc/current/service_container/compiler_passes.html. https://github.com/marcriemer/oauth2-server
Implementation for the bundle will follow soon.
@marcriemer what is the status with your implementation? is it ready?
@chalasr Could you check this PR ? Any help wanted to finish this ?
@simondaigre Which PR? Happy to do so but AFAIK nothing's been submitted yet :)
@simondaigre Which PR? Happy to do so but AFAIK nothing's been submitted yet :)
Indeed, sorry !
@marcriemer what is the status with your implementation? is it ready?
Still waiting for my pull request to be merged into oauth2-server.
https://github.com/thephpleague/oauth2-server/pull/1316
The IdTokenResponse implementation and oauth2-server-bundle compatibility for 9.x are required to complete OIDC.
Hi, I was able to integrate this bundle into my symfony project and somehow managed to get this working, clients can authorize and get access token and now I got stuck on how to configure userInfo endpoint (I'm using this package as a OIDC) any help ?