How to integrate Twitter OAuth into a JavaScript widget?

I’m creating a widget and am trying to use Twitter as a method for users to register and sign-in. I have a Python/Flask API server as my backend. Apart from using OAuth via JS (and exposing the app’s secret/key), is there another way to do this?

I see that LiveFyre allows OAuth sign-ins.

Thanks


Source: python

Leave a Reply