bring context into credential resolves