elm-oauth-middleware
Submitted by Bill St. Clair on Sat, 23 Dec 2017 22:15:13 GMT
elm-oauth-middleware provides Elm client modules and a mostly-Elm Node.js server for the OAuth2 Authorization Code Grant Flow, allowing an Elm client to be authorized for requests with a usually-server-only OAuth2 provider. It requires a dedicated server machine (I use a Digital Ocean droplet), and requires some setup and learning about how OAuth2 works.
I have tested the included example with GitHub, Gmail, Facebook, and Gab.
I wrote it because Gab provides only Authorization Code Grant Flow, and I want to write an Elm client for their API, which was recently released to a small, invitation-only group of developers. I expect that API to go public in the not-too-distant future.