Script not working since start of 2023 because google phased out "The out-of-band (OOB) flow"

Open
#32 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
google-cloud, typescript

Research direction

Start from the implementation of the clasp login --no-localhost command and read Google's linked OOB flow migration guide. Update the login flow to use an accepted alternative to the blocked OOB redirect, then verify that the command completes authentication without the reported 400 error.

Written by the indexing model from the issue text.

Description

When using "clasp login --no-localhost"
we get the error below from google:

Error 400: invalid_request
The out-of-band (OOB) flow has been blocked in order to keep users secure. Follow the Out-of-Band (OOB) flow migration guide linked in the developer docs below to migrate your app to an alternative method.
Request details: redirect_uri=urn:ietf:wg:oauth:2.0:oob
Related developer documentation

Some information from the url above:
all existing clients are blocked (including exempted clients). Clients may request a one-time extension to continue using the OOB flow until January 31, 2023, as instructed in the email message sent to affected clients.

Dominant language
TypeScript
Stars
42
Forks
80
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from odoo/mail-client-extensions

All issues in odoo/mail-client-extensions

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.