Using ADFS oAuth with tasklist-api


I’m trying to connect ADFS oAuth to the TaskList Api but I am getting the invalid token exception. What I see is that the CustomJwtAuthenticationConverter in the tasklist-webapp expects a “scope” element in the access-token. When I get an access-token from ADFS it only has an “scp” element.
Is it possible to change this Jwt token check?