![did-auth](https://www.arcblock.io/.netlify/functions/badge/?text=did-auth)

[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![docs](https://img.shields.io/badge/powered%20by-arcblock-green.svg)](https://docs.arcblock.io)
[![Gitter](https://badges.gitter.im/ArcBlock/community.svg)](https://gitter.im/ArcBlock/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

## Overview

The DID Connect Relay adapter for [express.js](http://expressjs.com/index.html).

The express app should have following middleware installed:

- [cookie-parser](https://www.npmjs.com/package/cookie-parser)
- [body-parser](https://www.npmjs.com/package/body-parser)

A working example can be found [here](https://github.com/ArcBlock/did-connect/blob/main/scripts/create-test-server.js)
