HWIOAuthBundle を使用して oauth2 サーバーを構成しようとしていますが、正しく構成への応答として HWIOAuthBundle が期待しているものについて明確にしたいと思いますinfos_url
か?
jsonファイルを期待していると思います。それで、そのフィールドは何ですか?リンクがあれば、私は幸せです。
hwi_oauth:
firewall_name: main
resource_owners:
battlenet:
type: oauth2
client_id: "%client_id%"
client_secret: "%client_secret%"
access_token_url: %path%/oauth/token
authorization_url: %path%/oauth/authorize
infos_url: %path%/user/me
scope: "read"
user_response_class: HWI\Bundle\OAuthBundle\OAuth\Response\PathUserResponse
paths:
identifier: id
nickname: id
realname: id
ありがとう ;)