freckle / yesod-auth-oauth2

OAuth2 authentication for yesod
MIT License
71 stars 53 forks source link

Expose custom widgets for google oauth #149

Closed jmorag closed 3 years ago

jmorag commented 3 years ago

I needed this for google specifically, but I'm happy to apply similar changes to the other providers that don't accept custom widget arguments (basically all the non-gaming ones).

pbrisbin commented 3 years ago

Nice, thanks!

We do something similar for EveOnline, but it offers a set of alternatives with choice by enum, rather than going completely custom. There may be a broader way to solve configurability and normalize with that.

For now, I suggest we keep adding this piece-meal as needed and maybe come back with an overall solution after a few more have cropped up.