try this. 👇 https://stackoverflow.com/questions/61868629/page-not-found-error-when-adding-facebook-authentication
On Wed, Jun 2, 2021, 11:12 AM DJANGO DEVELOPER <[email protected]> wrote: > actually I am using django-allauth and it doesn't need to have a form to > login via facebook. > > On Wed, Jun 2, 2021 at 10:37 AM Omkar Parab <[email protected]> wrote: > >> You need to pass csrf_token using <form> tag or via JS. >> >> On Wed, Jun 2, 2021, 10:53 AM DJANGO DEVELOPER <[email protected]> >> wrote: >> >>> it is working now but giving the errors attached in the photo. when I >>> click on send anyway, then it shows error of csrf forbidden. I am getting >>> confused again and again. >>> >>> On Wed, Jun 2, 2021 at 10:18 AM Omkar Parab <[email protected]> >>> wrote: >>> >>>> Yes. >>>> >>>> On Wed, Jun 2, 2021, 10:12 AM DJANGO DEVELOPER <[email protected]> >>>> wrote: >>>> >>>>> do have I to add ngrok url in my facebook app that I created to get >>>>> client secret? >>>>> >>>>> On Wed, Jun 2, 2021 at 9:40 AM DJANGO DEVELOPER < >>>>> [email protected]> wrote: >>>>> >>>>>> oh, I had to run the local server first. it is running successfully >>>>>> but giving the same error of urls. >>>>>> >>>>>> On Wed, Jun 2, 2021 at 9:36 AM DJANGO DEVELOPER < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> The connection to https://d0f7dea89f18.ngrok.io was successfully >>>>>>> tunneled to your ngrok client, but the client failed to establish a >>>>>>> connection to the local address localhost:8000. >>>>>>> facing this error >>>>>>> >>>>>>> On Wed, Jun 2, 2021 at 9:30 AM Omkar Parab <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> Run "ngrok.exe http 8000" command in ngrok terminal. >>>>>>>> >>>>>>>> >>>>>>>> On Wed, Jun 2, 2021, 9:23 AM DJANGO DEVELOPER < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> let suppose I have installed ngrok, then should have I to run >>>>>>>>> command of ngrok.exe in project's directory or anywhere? >>>>>>>>> >>>>>>>>> On Wed, Jun 2, 2021 at 8:39 AM Omkar Parab <[email protected]> >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Facebook login won't work with these local URLs. Only google >>>>>>>>>> login will work. Don't waste your time. Either host it on Heroku or >>>>>>>>>> install >>>>>>>>>> ngrok and try again. >>>>>>>>>> >>>>>>>>>> On Wed, Jun 2, 2021, 7:16 AM DJANGO DEVELOPER < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> >>>>>>>>>>> and last settings of my developer app >>>>>>>>>>> >>>>>>>>>>> On Wed, Jun 2, 2021 at 6:44 AM DJANGO DEVELOPER < >>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>> >>>>>>>>>>>> site url from my app. >>>>>>>>>>>> >>>>>>>>>>>> On Wed, Jun 2, 2021 at 6:43 AM DJANGO DEVELOPER < >>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> I have 2 sites in my django admin side. one is localhost:8000 >>>>>>>>>>>>> and other is 127.0.0.1:8000 >>>>>>>>>>>>> >>>>>>>>>>>>> On Wed, Jun 2, 2021 at 1:05 AM Kasper Laudrup < >>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> On 01/06/2021 21.49, DJANGO DEVELOPER wrote: >>>>>>>>>>>>>> > I am using django-allauth library and i am following this >>>>>>>>>>>>>> > tutorial. >>>>>>>>>>>>>> https://medium.com/geekculture/setup-social-authentication-in-django-rest-framework-1afdb675375f >>>>>>>>>>>>>> > < >>>>>>>>>>>>>> https://medium.com/geekculture/setup-social-authentication-in-django-rest-framework-1afdb675375f >>>>>>>>>>>>>> > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> >>>>>>>>>>>>>> You've said so already, but at least now you've posted an >>>>>>>>>>>>>> error message. >>>>>>>>>>>>>> >>>>>>>>>>>>>> What's the URL you're trying to load and what's currently in >>>>>>>>>>>>>> the "App >>>>>>>>>>>>>> Domains" field in your app settings? >>>>>>>>>>>>>> >>>>>>>>>>>>>> Kind regards, >>>>>>>>>>>>>> >>>>>>>>>>>>>> Kasper Laudrup >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> You received this message because you are subscribed to the >>>>>>>>>>>>>> Google Groups "Django users" group. >>>>>>>>>>>>>> To unsubscribe from this group and stop receiving emails from >>>>>>>>>>>>>> it, send an email to >>>>>>>>>>>>>> [email protected]. >>>>>>>>>>>>>> To view this discussion on the web visit >>>>>>>>>>>>>> https://groups.google.com/d/msgid/django-users/948b7758-8ec1-ffe6-4857-9b49fb758965%40stacktrace.dk >>>>>>>>>>>>>> . >>>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>> You received this message because you are subscribed to the >>>>>>>>>>> Google Groups "Django users" group. >>>>>>>>>>> To unsubscribe from this group and stop receiving emails from >>>>>>>>>>> it, send an email to [email protected]. >>>>>>>>>>> To view this discussion on the web visit >>>>>>>>>>> https://groups.google.com/d/msgid/django-users/CAKPY9pktmf8am%3D3OioHua027_4u-fSa5OqgVHwyro%3DZpT-bJVA%40mail.gmail.com >>>>>>>>>>> <https://groups.google.com/d/msgid/django-users/CAKPY9pktmf8am%3D3OioHua027_4u-fSa5OqgVHwyro%3DZpT-bJVA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>>>>>> . >>>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> You received this message because you are subscribed to the >>>>>>>>>> Google Groups "Django users" group. >>>>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>>>> send an email to [email protected]. >>>>>>>>>> To view this discussion on the web visit >>>>>>>>>> https://groups.google.com/d/msgid/django-users/CAJY8mfwN1f5rhRuckpShSUGKaWwD36Bam1jW9_n1sT61nuzKfg%40mail.gmail.com >>>>>>>>>> <https://groups.google.com/d/msgid/django-users/CAJY8mfwN1f5rhRuckpShSUGKaWwD36Bam1jW9_n1sT61nuzKfg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>>>>> . >>>>>>>>>> >>>>>>>>> -- >>>>>>>>> You received this message because you are subscribed to the Google >>>>>>>>> Groups "Django users" group. >>>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>>> send an email to [email protected]. >>>>>>>>> To view this discussion on the web visit >>>>>>>>> https://groups.google.com/d/msgid/django-users/CAKPY9pm9m_DSZLdi%3DutJoiZn4tkAOpBCVs2m0yEf_Yj5vyyuHg%40mail.gmail.com >>>>>>>>> <https://groups.google.com/d/msgid/django-users/CAKPY9pm9m_DSZLdi%3DutJoiZn4tkAOpBCVs2m0yEf_Yj5vyyuHg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>>>> . >>>>>>>>> >>>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "Django users" group. >>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>> send an email to [email protected]. >>>>>>>> To view this discussion on the web visit >>>>>>>> https://groups.google.com/d/msgid/django-users/CAJY8mfzKZ4grWcvm%3DZkErJjCVsWG5YuNr8DMLc1hyOFx%2BpOPtQ%40mail.gmail.com >>>>>>>> <https://groups.google.com/d/msgid/django-users/CAJY8mfzKZ4grWcvm%3DZkErJjCVsWG5YuNr8DMLc1hyOFx%2BpOPtQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>>> . >>>>>>>> >>>>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Django users" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/django-users/CAKPY9pnvk%2BbuGy4doh18wyjZQp09TzQy5b0C1sj5byhXpG61cQ%40mail.gmail.com >>>>> <https://groups.google.com/d/msgid/django-users/CAKPY9pnvk%2BbuGy4doh18wyjZQp09TzQy5b0C1sj5byhXpG61cQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Django users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/django-users/CAJY8mfxt-bxwixP0CsYz3qAu8Ka3vxeVBzT7izuQa4GWrVFQfg%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/django-users/CAJY8mfxt-bxwixP0CsYz3qAu8Ka3vxeVBzT7izuQa4GWrVFQfg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Django users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/django-users/CAKPY9p%3DkQF_Y%3DBGPks8TNwrK772YVmLP_CCTRBnYO-kfa3d93A%40mail.gmail.com >>> <https://groups.google.com/d/msgid/django-users/CAKPY9p%3DkQF_Y%3DBGPks8TNwrK772YVmLP_CCTRBnYO-kfa3d93A%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/CAJY8mfw2qJUVCZ%3DiQYAuFQhU%3DJp310Lb1a4fHQGbRCL4Kx07Ew%40mail.gmail.com >> <https://groups.google.com/d/msgid/django-users/CAJY8mfw2qJUVCZ%3DiQYAuFQhU%3DJp310Lb1a4fHQGbRCL4Kx07Ew%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAKPY9pniyynToAj38mMVYkfF%2BVE-wNZsXcKjzLEFwio93a%2BLPw%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAKPY9pniyynToAj38mMVYkfF%2BVE-wNZsXcKjzLEFwio93a%2BLPw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJY8mfyx_rhjxMCkXm8YhWr0PC6kENXbQnH8X7MFfLAum9xX4A%40mail.gmail.com.

