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.OAuthPaths
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'sclient_id.
Options
:oauth- required. TheWardrikOAuthname.