WardrikOAuth.Plug (wardrik_oauth v0.1.0-rc.1)

Copy Markdown

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