This unfinished set of notes
Hisham Sati, Zoran Škoda, Urs Schreiber, Danny Stevenson,
Twisted Differential Nonabelian Cohomology, (2008)
(pdf)
is an early precursor that eventually grew into the body of work listed at differential cohomology in a cohesive topos, see there (also below) for introduction, overview and details.
Parts of this material was presented at an Oberwolfach workshop in 2009, in the talk