bshaffer / oauth2-server-bundle

OAuth2 for your Symfony Application
MIT License
106 stars 72 forks source link

Add key property to storages in services.xml #46

Closed RuslanZavacky closed 7 years ago

RuslanZavacky commented 7 years ago

@bshaffer looks like fixing test end up in quite complicated solution :) I am not really sure, that what I've did is right. Also, it seems that in AuthorizationCode::getAuthorizeResponse in main lib id_token is missing in return, but test was expecting it.

I don't have enough knowledge to do a correct reasoning, so it would be good if someone can check this changes and say in which direction I'd should go next :)

bshaffer commented 7 years ago

Hey @RuslanZavacky ! It's probably because the use_openid_connect flag needs to be set to true (in the oauth2.server.config parameter) in order to return the id_token.

bshaffer commented 7 years ago

closing in favor of #52