Getting Cookie Write Error on Shopify Checkout Page how can we resolve that issue? - cookies

Getting Cookie Write Error on Shopify Checkout Page how can we resolve that issue ?enter image description here

Related

Django Google log-in/sign up not working even though django-oauth

Following this guide to add google sign-in/sign-up to my django app.
Added all the code and it all seemed to be working until the very end when I got this error.
Error 400: redirect_uri_mismatch
The redirect URI in the request, http://127.0.0.1:8000/accounts/google/login/callback/, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: https://console.developers.google.com/....
However, i visit my credential screen I do see the url correctly reported. What am i doing wrong?
problem solved itself after 1h. Probably google taking time to deploy changes in credentials

Getting 404 Error in postman while getting response from shopify cart

Hi I am using Postman to get the response from shopify website But i can't get the responce of Cart Value. Its shows 404 Error Any solution...
two options come to my mind:
you are using the wrong request type like POST/GET/PUT, ...
you are not logged in with the request from postman. Then you should check whats the authentification method of shopify and copy the same headers or cookies to postman

Why I'm getting a 500 internal error when validate Recaptcha V2, Django?

I'm using Django and when I want to submit my contact form, i have to validate my google recaptcha. It's working locally but in production I have a 500 internal error and the mail is not sent when the form is correctly fill with the correct captcha.
I added my domain name to the google recaptcha website... I have correct secret key... Again it's working locally
You may have solved this already, but just for future reference in case it helps someone, I can say that I had a similar issue using the django-recaptcha package and I was able to solve it by removing the following line from settings.py which I originally needlessly added:
RECAPTCHA_PROXY = {'http': 'http://127.0.0.1:8000', 'https': 'https://127.0.0.1:8000'}

Django-allauth Facebook error

I am going to implement login with facebook and google using django-allauth app,but i am getting one error i.e
You are not logged in: You are not logged in. Please log in and try again.
My Facebook App Settings
What should i do now??
Change your redirect URI to
http://localhost:8000/accounts/facebook/login/callback/
and also make sure to have SITE_ID = 1 in settings.
The following solved my problem:
Valid Oauth redirect URI ---> set to http://localhost:8000/

How can I make Google OAuth2 authentication work?

I'm using the excellent Django Social Auth app to handle logins from a variety of services. This works nicely with Twitter, Facebook and LinkedIn but I can't figure out why it will not work with Google. I have got this message numerous times trying all the options that I can think:
Error: redirect_uri_mismatch
Request Details
scope=https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email
response_type=code
access_type=offline
redirect_uri=http://dev.mysite.com/complete/google-oauth2/
next=/close_login_popup/
state=OHZtGyZPyrM0XUjzEsf8dv22VAZGXSY6
display=page
client_id=820357455247-4levikqugduodacfc8j3b5dhsvmbbnnb.apps.googleusercontent.com
To create the API key, I went to https://code.google.com/apis/ then filled out the form using the following steps:
Then, I chose 'Installed Application' which I don't fully understand but most documentation suggest this option. I have tried both other options without success:
If I try creating a Web Application specifying http://.dev.mysite.com I get the following error:
Error: redirect_uri_mismatch
The redirect URI in the request: http://dev.mysite.com/complete/google-oauth2/ did not match a registered redirect URI
Learn more
Request Details
scope=https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email
response_type=code
access_type=online
redirect_uri=http://dev.mysite.com/complete/google-oauth2/
next=/close_login_popup/
state=xcpu93i7XJJmYlwXnRbkfgEwsbbR1O7c
display=page
client_id=606300275392.apps.googleusercontent.com
My objective is to have a link that someone can click on, give permissions to Google and then log in to my site. I'm testing this on the actual site, wwww.dev.mysite.com and when trying the other options for key generation I specified dev.mysite.com. I would appreciate any suggestions of what to try next as I've run out of ideas.