Closed mappedinn closed 6 years ago
Basically, info from infos_url
endpoint must serve a valid json answer.
PathUserResponse
specifically maps these fields:
protected $paths = array(
'identifier' => null,
'nickname' => null,
'firstname' => null,
'lastname' => null,
'realname' => null,
'email' => null,
'profilepicture' => null,
);
You totally can implement your own UserResponse
class that extends that one to add some specific fields for your needs.
Hi,
I am trying to config my oauth2 server with HWIOAuthBundle and I would like to have some clarifications on what HWIOAuthBundle is expecting as response to config correctly
infos_url
?I guess it is expecting a json file. So, what are its fields? If you have links, I will be happy.
Thanks ;)