I have an api server implemented in Gin Web Framework. I want to add "login with twitter" feature in this application. Twitter uses OAuth1 protocol. I have looked several packages for oauth1 client including dghubble/oauth1 and gomodule/oauth1. But it seems, non of these easily fit with Gin framework. Could you give an example of how to use any of these packages with go-gin application or is there any better/easier way for implementing this feature?
P.S. I am using react in frontend.
1.4m articles
1.4m replys
5 comments
56.9k users