{"action":"created","issue":{"url":"https://api.github.com/repos/bshaffer/oauth2-server-bundle/issues/38","labels_url":"https://api.github.com/repos/bshaffer/oauth2-server-bundle/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/bshaffer/oauth2-server-bundle/issues/38/comments","events_url":"https://api.github.com/repos/bshaffer/oauth2-server-bundle/issues/38/events","html_url":"https://github.com/bshaffer/oauth2-server-bundle/issues/38","id":105831919,"number":38,"title":"OpenID Connect support","user":{"login":"guilhermednt","id":860796,"avatar_url":"https://avatars.githubusercontent.com/u/860796?v=3","gravatar_id":"","url":"https://api.github.com/users/guilhermednt","html_url":"https://github.com/guilhermednt","followers_url":"https://api.github.com/users/guilhermednt/followers","following_url":"https://api.github.com/users/guilhermednt/following{/other_user}","gists_url":"https://api.github.com/users/guilhermednt/gists{/gist_id}","starred_url":"https://api.github.com/users/guilhermednt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guilhermednt/subscriptions","organizations_url":"https://api.github.com/users/guilhermednt/orgs","repos_url":"https://api.github.com/users/guilhermednt/repos","events_url":"https://api.github.com/users/guilhermednt/events{/privacy}","received_events_url":"https://api.github.com/users/guilhermednt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-09-10T15:19:15Z","updated_at":"2015-09-21T18:43:49Z","closed_at":null,"body":"It seems that `oauth2-server-php` supports OpenID Connect. Does it mean this bundle does it too?"},"comment":{"url":"https://api.github.com/repos/bshaffer/oauth2-server-bundle/issues/comments/142072157","html_url":"https://github.com/bshaffer/oauth2-server-bundle/issues/38#issuecomment-142072157","issue_url":"https://api.github.com/repos/bshaffer/oauth2-server-bundle/issues/38","id":142072157,"user":{"login":"bshaffer","id":103941,"avatar_url":"https://avatars.githubusercontent.com/u/103941?v=3","gravatar_id":"","url":"https://api.github.com/users/bshaffer","html_url":"https://github.com/bshaffer","followers_url":"https://api.github.com/users/bshaffer/followers","following_url":"https://api.github.com/users/bshaffer/following{/other_user}","gists_url":"https://api.github.com/users/bshaffer/gists{/gist_id}","starred_url":"https://api.github.com/users/bshaffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bshaffer/subscriptions","organizations_url":"https://api.github.com/users/bshaffer/orgs","repos_url":"https://api.github.com/users/bshaffer/repos","events_url":"https://api.github.com/users/bshaffer/events{/privacy}","received_events_url":"https://api.github.com/users/bshaffer/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T18:43:49Z","updated_at":"2015-09-21T18:43:49Z","body":"The decision is made by instantiating the [`OpenID` subclasses](https://github.com/bshaffer/oauth2-server-php/tree/develop/src/OAuth2/OpenID) of various `Controller`, `ResponseType`, `GrantType`, and `Storage` objects. These can be created and added manually to your `Server` object (using `setController`, `addGrantType`, etc), or they should be done automatically when `use_openid_connect` is set to true.\r\n\r\nOne thing that could cause an issue is if those various classes were being created automatically by the Server ahead of time. But it appears you set the container arguments before the server is instantiated, so I don't see how this would be the problem.\r\n\r\nSee if the [OpenID Authorization Code Grant Type](https://github.com/bshaffer/oauth2-server-php/blob/develop/src/OAuth2/OpenID/GrantType/AuthorizationCode.php#L24) ever gets executed, as this is where magic for the returning of the `id_token` happens in most cases."}}