clojusc / friend-oauth2

OAuth2 Workflow for Friend (https://github.com/cemerick/friend)
MIT License
102 stars 24 forks source link

Recommend a best practice for configuring workflows #49

Closed oubiwann closed 7 years ago

oubiwann commented 7 years ago

The data structures used to create workflows can be a bit cumbersome, especially for projects that wrap friend-oauth2 or provide convenience functionality on top of friend-oauth2. I have experimented with some fully backwards-compatible mechanisms for lessening this developer/user burden. The use of records and a couple of functions that convert a flat/simple config record to the data structures needed by friend-oauth2 has been an especially clean (and fully optional) approach.

This is probably just going to be a documentation effort more than anything, perhaps showing a new set of examples that use such an approach ...

Tasks:

Part of release #64

oubiwann commented 7 years ago

Done.