Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log in with Patreon #54

Open
cassidyjames opened this issue Dec 3, 2020 · 5 comments
Open

Log in with Patreon #54

cassidyjames opened this issue Dec 3, 2020 · 5 comments
Assignees
Labels
enhancement New feature or request massive

Comments

@cassidyjames
Copy link
Contributor

I realized this wasn't actually filed. But I wonder if it would be worthwhile or even possible to allow Patreon membership as a way to authenticate? I would guess we would want to use the Patreon API to check if they are the member of a specific tier, or at worst, do it like GitHub Sponsors and check the pledge amount directly.

If this is possible, we should consider adding it as a perk to a new equivalent tier on Patreon (possibly slightly higher because of the Patreon cut).

@polyjitter
Copy link

Relevant endpoint:

https://docs.patreon.com/#get-api-oauth2-v2-identity with ?include=memberships

Seems only identity scope would be needed, as it would give only access to the user's member status with the elementary campaign.

Tiers seem to be found under data -> relationships -> currently_entitled_tiers as per:

https://docs.patreon.com/#get-api-oauth2-v2-members-id
https://docs.patreon.com/#member

Possibly just guesswork, as these examples are a mess.

@btkostner
Copy link
Contributor

My long term goal for this was to setup elementary accounts and have people be able to link their github, patreon, and what have you. Then we can just calculate the total amount someone is paying and use that for authentication to our different services.

@cassidyjames
Copy link
Contributor Author

@btkostner that's interesting! It doesn't let us account for the difference in Patreon's payment processing and revenue share, but maybe that's fine in the long term. I personally like incentivizing GitHub Sponsors over Patreon because of that, but I could also see it being handy to have a single account with other services linked…

@btkostner
Copy link
Contributor

@cassidyjames I was thinking more long term wise we might want to add other subscriptions. We could also take into account the processing price for each service. It's just more logic to live in the accounts service.

This is all long term, and I'm not saying we should work on this now (setting up an oauth server etc is going to be a bit of work), but that was my internal plan for the future.

@cassidyjames
Copy link
Contributor Author

@btkostner gotcha, that makes sense. I think that yeah, if it's possible to do Patreon as a separate authentication for this site for now, then it might be worth it in the near term. We have been wanting to re-launch some Patreon tiers anyway, and this would be a good thing to mention as part of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request massive
Projects
None yet
Development

No branches or pull requests

4 participants