tylerjrichards / st-paywall

A python package for creating subscription Streamlit apps
MIT License
255 stars 50 forks source link

How about additional auth / payment providers? #14

Open javierluraschi opened 1 year ago

javierluraschi commented 1 year ago

Is there room to support additional auth / payment providers? Suppose that someone wants to use say Microsoft authentication and Square payments... is there a path to generalize this through additional packages that comply to some interface this package defines?

We've gotten payments functionality request a few times, so glad the Streamlit community has this going!

tylerjrichards commented 1 year ago

100%, I actually started thinking about this for something like buymeacoffee (https://github.com/tylerjrichards/st-paywall/issues/10) as someone mentioned that stripe was not available in chile!

there isn't a generalized way of handling this, but as of now all the authentication functions are stored in their own python file and the top level api that aggregates them is super basic. Do you have a payment provider or auth that you have in mind?

sebastiandres commented 1 year ago

+1 for Microsoft authentication, as it widely use on companies. It has been on my to-do list for ages!

tylerjrichards commented 1 year ago

added buymeacoffee integration tonight! no auth ones for now those are way harder

ghz commented 11 months ago

Maybe a way to manage several OAuth providers could also add more usage scenarios. Plus we will able contribute and PR new OAuth service (Atlassian, Instagram, Linkedin, Twitter, etc)

joker096 commented 6 months ago

need cryptomus in streamlit