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

Patreon linked to GitHub doesn't count as sponsorship #176

Open
cyrneko opened this issue Apr 23, 2024 · 4 comments
Open

Patreon linked to GitHub doesn't count as sponsorship #176

cyrneko opened this issue Apr 23, 2024 · 4 comments
Assignees

Comments

@cyrneko
Copy link

cyrneko commented Apr 23, 2024

What Happened?

I've pledged to Elementary over Patreon, making sure to link it with my GitHub account. Builds.elementary.io does not recognise this, even after @danirabbit manually added me to the whitelist.

Steps to Reproduce

  1. Support via Patreon
  2. Link GH and Patreon
  3. Try logging in on builds.elementary.io

Expected Behavior

It should recognise that I am indeed sponsoring Elementary and allow me through.

OS Version

Other Linux

Software Version

Latest release (I have run all updates)

Log Output

Not Relevant

Hardware Info

Not Relevant

@danirabbit
Copy link
Member

@lewisgoddard This should theoretically just work with Patreon right? Possibly closing #54? But it's weird that he still can't log in even after I added his username manually to the allow list. Any idea for debugging steps?

@cyrneko
Copy link
Author

cyrneko commented Apr 26, 2024

Because it is relevant:

At this point I have tried on a completely different device and fresh Firefox install

@darltrash

This comment has been minimized.

@lewisgoddard
Copy link
Member

I have absolutely no idea for the allowlisting, that is a simple check in server/auth-callback.js, line 95.

Do we know anyone who is subscribed to the Patreon?

It might be something to do with the check that they are paying at least $1 a month.

I would like to know the output of this GitHub GraphQL query (they can be tested @ https://docs.github.com/en/graphql/overview/explorer)

{
  viewer {
    login
    organizations(last: 100) {
      nodes {
        login
      }
    }
    sponsorshipsAsSponsor(last: 100) {
      nodes {
        isActive
        paymentSource
        tier {
          monthlyPriceInCents
        }
        sponsorable {
          ... on User {
            login
          }
          ... on Organization {
            login
          }
        }
      }
    }
  }
}

@lewisgoddard lewisgoddard self-assigned this Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants