# `WardrikOAuth.Plug`

Serves the sign-in pages. Mount it at `WardrikOAuth`'s `page`.

    forward "/oauth", WardrikOAuth.Plug, oauth: MyApp.OAuth

## Paths

  * `GET /callback` - finishes a browser sign-in.
  * `GET /device/:id` - shows a device sign-in's code and where to enter it.
  * `GET /client` - the Client ID Metadata Document for Wardrik's `client_id`.

## Options

  * `:oauth` - required. The `WardrikOAuth` name.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
