Hi,
According to the documentation, openID is required as scope. Using email and/or profile as well gives you the possibility to also get information about the user via the UserInfo endpoint.
Example:
curl --request GET --url https://connect.visma.com/connect/userinfo --header 'authorization: Bearer [YOUR_ACCESS_TOKEN]'
Response:
{
"sub": "1072cd43-d99a-4d44-84a2-5f80720c1a19",
"name": "John Doe",
"given_name": "John",
"family_name": "Doe",
"email": "john.doe@visma.com",
"email_verified": true,
"idp": "Visma Connect",
"auth_time": "1472622102",
"sid": "11474d36-22a3-40d8-925d-21af17826e38"
}
... View more