Help with Extracting Additional Query Parameters during Social Login Redirect in Django-AllAuth #4140
Replies: 2 comments 4 replies
-
@andrenbrandao @marjoripomarole @radek-senfeld @quique @jacksund @dakrer @quique @RoPP @aaronvanderlip @kappataumu @tomdee @vmavromatis @xfxf @Jeffxz @tomdee @quique @pennersr @apekatten |
Beta Was this translation helpful? Give feedback.
-
It is not clear to me to which allauth/view/url these parameters are being passed. As mentioned, /auth/signin/ has nothing to do with allauth. Then you mention:
Which "one" are you referring to? |
Beta Was this translation helpful? Give feedback.
-
Hello @cdcarter @tomdee @quique @krizh-p @jezdez @pennersr @pacesm @jplehmann @PabloCastellano @tomdee @oalamoudi @quique @fabiocerqueira @facugaich @fdobrovolny @fengsi,
I'm currently facing an issue with Django AllAuth and would greatly appreciate your insights.
Here’s my setup:
I'm trying to manage redirect URLs in
django-allauth
using the query parameters. Specifically, I'm looking to capture a parameter liketype=customer
in a URL structured ashttp://localhost:8000/auth/signin/?next=//shop.apps.local:8000/store/checkout&type=customer
.I’m currently setting
is_safe_url
toTrue
for handling domains, but I'm unsure how to access thetype
parameter withindjango-allauth
during the redirect process. Could you advise on the best way to capture and utilizetype=customer
within the custom adapter?Any help on this would be invaluable—thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions