Re: Patreon and Django-AllAuth Integration

2020-10-30 Thread Andrew Stringfield
You guys are awesome! I will try these solutions later this evening. On Wednesday, October 28, 2020 at 11:30:56 PM UTC-4 oladipo...@gmail.com wrote: > Hello Sir, > You need to set the LOGIN_REDIRECT_URL in your settings.py file. > > On Mon, Oct 26, 2020, 8:47 PM Andrew Stringfield > wrote: >

Re: Patreon and Django-AllAuth Integration

2020-10-28 Thread Kayode Oladipo
Hello Sir, You need to set the LOGIN_REDIRECT_URL in your settings.py file. On Mon, Oct 26, 2020, 8:47 PM Andrew Stringfield wrote: > Hello all, > > I am trying to use Patreon's API Version 2 with Django 3.1. I read: > https://docs.patreon.com/#third-party-libraries and found that Patreon >

Re: Patreon and Django-AllAuth Integration

2020-10-28 Thread Ryan Nowakowski
Here's the django-allauth callback URL for Patreon: https://django-allauth.readthedocs.io/en/latest/providers.html#patreon That "callback URL" needs to be configured in the Patreon dev portal. Make sure you change the URL to match your Django project's domain/port/etc. On Wed, Oct 28, 2020 at 06

Re: Patreon and Django-AllAuth Integration

2020-10-28 Thread Ryan Nowakowski
Typically oauth requires a callback URL[1] configured at the provider(Patreon in this case). Maybe double check that? Perhaps that's what Patreon is referring to("redirect URL") in the error below? [1] https://django-allauth.readthedocs.io/en/latest/providers.html#providers On Wed, Oct 28, 2020

Re: Patreon and Django-AllAuth Integration

2020-10-28 Thread Andrew Stringfield
I would not be shocked. On Wednesday, October 28, 2020 at 9:55:15 AM UTC-4 Ryan Nowakowski wrote: > The patreon error you're seeing might be a different redirect URL than the > login redirect URL. i.e. these may be two different problems. > > > > > On October 28, 2020 6:55:48 AM CDT, Andrew Stri

Re: Patreon and Django-AllAuth Integration

2020-10-28 Thread Ryan Nowakowski
The patreon error you're seeing might be a different redirect URL than the login redirect URL. i.e. these may be two different problems. On October 28, 2020 6:55:48 AM CDT, Andrew Stringfield wrote: >I almost forgot. I have checked my settings in Django and Patreon and >the >URL redirect ma

Re: Patreon and Django-AllAuth Integration

2020-10-28 Thread Andrew Stringfield
I almost forgot. I have checked my settings in Django and Patreon and the URL redirect matches for all that I can see. I have an idea to try and use the testing framework to see what values I am passing to Patreon. On Wednesday, October 28, 2020 at 7:53:42 AM UTC-4 Andrew Stringfield wrote: >

Re: Patreon and Django-AllAuth Integration

2020-10-28 Thread Andrew Stringfield
Sorry for the late reply. I found a youtube video of: https://www.youtube.com/watch?v=-TUEM2NCuVE and I followed the instructions as best as I could. I created a button for a Patreon login and I get the below results: In my URL bar I get: https://www.patreon.com/oauth2/errors?error=invalid_r

Re: Patreon and Django-AllAuth Integration

2020-10-27 Thread Ryan Nowakowski
On Mon, Oct 26, 2020 at 12:16:03PM -0700, Andrew Stringfield wrote: > Hello all, > > I am trying to use Patreon's API Version 2 with Django 3.1. I > read: https://docs.patreon.com/#third-party-libraries and found that > Patreon supported the django-allauth library. I installed the library

Re: Patreon and Django-AllAuth Integration

2020-10-26 Thread Andrew Stringfield
First, thank you for the response! I want to use Patreon as a login account provider for my Patrons. I have been playing around with the code some more. This is what I have so far: I created a view with the contents of: def patreon(request): request_string = 'http://patreon.com/oauth2

Re: Patreon and Django-AllAuth Integration

2020-10-26 Thread Andréas Kühne
Hi, Django-allauth is used for handling login from SSO third party libraries - EXACTLY what you are getting a response from. Do you want to use Patreon as a login account provider or do you want to do something else? Regards, Andréas Den mån 26 okt. 2020 kl 20:47 skrev Andrew Stringfield < th

Patreon and Django-AllAuth Integration

2020-10-26 Thread Andrew Stringfield
Hello all, I am trying to use Patreon's API Version 2 with Django 3.1. I read: https://docs.patreon.com/#third-party-libraries and found that Patreon supported the django-allauth library. I installed the library by following the instructions of: https://django-allauth.readthedocs.io/en/l