Validating Purchases on Android App using Python

Tiempo de lectura: 2 minutos We will today learn how to validate in-app purchases using Python and an Android app. This will serve for native Android apps, ionic, kotlin, flutter, react native or any other technology you choose. The first thing to do is create a refresh token and OAuth 2.0 token data. To follow this tutorial, we will continue … Read more

How to get the Google Refresh Token step by step (OAuth 2.0)

How to get the Google Refresh Token step by step (OAuth 2.0)

Tiempo de lectura: 2 minutos We will today learn how to get a refresh token from Google OAuth 2.0 in order to use services of Google Console. We will first get the authentication data using a Google token. For this: client_id and client_secret You get them from the Test Users < p’It will tell you that Google hasn’t verified this … Read more

Generating OAuth 2.0 Credentials for Google Drive or Google Docs using n8n

Generating OAuth 2.0 Credentials for Google Drive or Google Docs using n8n

Tiempo de lectura: < 1 minuto We will learn today how to generate an OAuth2 credential for Google Drive using n8n. Go to console.cloud.google.com extras: if authentication fails or forces account verification We modified point 5 and indicate Application Web We added the URL of redirection that n8n tells us to add it to the created credential. And now we can … Read more

Add Google Sign In to Flutter

Add Google Sign In to Flutter

Tiempo de lectura: 3 minutos Today we are going to learn how we can implement Google authentication in our Flutter app. Let’s go to Google Cloud Platform (https://cloud.google.com/) and click on Console Now select our project (if we already have it created by Firebase) or create a new one. Now search for: oauth clients Choose External: Fill in the application … Read more

Verify Google Auth Token (Google Sign) Using Python

Verify Google Auth Token (Google Sign) Using Python

Tiempo de lectura: 2 minutos Today we’re going to learn how we can verify a token generated with Google Sign-In from a front-end client by sending it to the back-end. In this case, we’ll be using Python. Returns only the HTML translated, without any addition. Here’s a step-by-step tutorial for validating a Google Sign-In token in Python using the google-auth … Read more

Validate ReCaptcha token using PHP

Tiempo de lectura: < 1 minuto In this example, we pass the obtained reCaptcha code through the JSON body and validate it. Replace SECRET_CODE with the secret code obtained when creating the captcha. To send the remote IP, you can use HTTP_CLIENT_IP or HTTP_X_REAL_IP if you are using a reverse proxy like NPM. Finally, validate the captcha token and allow the … Read more

Add reCAPTCHA Google Captcha to React

Add reCAPTCHA Google Captcha to React

Tiempo de lectura: 2 minutos Today we’re going to learn how we can validate a form, including a reCAPTCHA to prevent spam attacks by BOTS. The first thing we need to do is register our reCAPTCHA code on Google: https://www.google.com/recaptcha/about/ And click on v3 Admin Console Click on the plus (+) button to create a new one, and in this … Read more

Implementing Google Sign-In in React

Implementing Google Sign-In in React

Tiempo de lectura: 3 minutos Today we are going to learn how to implement Google Sign-in with React, also compatible with Next.js. The first thing we need to do is install the React Oauth2 Google library: npm install @react-oauth/google@latest Once installed, we need to create our credentials: Go to Google Cloud Platform (https://cloud.google.com/) and click on Console. Now select your … Read more

Add Google Sign Auth in Flutter

Add Google Sign Auth in Flutter

Tiempo de lectura: 4 minutos Today we are going to learn how we can implement Google authentication in our Flutter app. Let’s go to Google Cloud Platform (https://cloud.google.com/) and click on Console Now select our project (if we already have it created by Firebase) or create a new one. Now search for: oauth clients Choose External: Fill in the application … Read more

Verify Google Auth Token (Google Sign) Using Python

Verify Google Auth Token (Google Sign) Using Python

Tiempo de lectura: 2 minutos Today we’re going to learn how we can verify a token generated with Google Sign-In from a front-end client by sending it to the back-end. In this case, we’ll be using Python. Of course, here’s a step-by-step tutorial for validating a Google Sign-In token in Python using the google-auth library. Step 1: Install the google-auth … Read more