markbates / goth

Package goth provides a simple, clean, and idiomatic way to write authentication packages for Go web applications.
https://blog.gobuffalo.io/goth-needs-a-new-maintainer-626cd47ca37b
MIT License
5.2k stars 566 forks source link

Update Example to include TwitterV2, fix TwitterV2 crash #467

Closed IRelaxxx closed 1 year ago

IRelaxxx commented 1 year ago

Add TwitterV2 Provider to the example, the Twitter provider does not work if you only have the Essentail API Access Level because it uses the v1.1 API to get userInfo(see Twitter API Docs)

Changes to TwitterV2 Provider per Twitter API Docs