Change module DoximityOauth2 to class DoximityOauth2. Silly mistake.