Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

claat - Out-Of-Band (OOB) flow #793

Closed
djuang1 opened this issue Oct 25, 2022 · 6 comments
Closed

claat - Out-Of-Band (OOB) flow #793

djuang1 opened this issue Oct 25, 2022 · 6 comments

Comments

@djuang1
Copy link

djuang1 commented Oct 25, 2022

https://developers.google.com/identity/protocols/oauth2/resources/oob-migration

Hi, I'm running into the Out-Of-Band (OOB) flow issue when I run claat export <id>. Is there a fix for this issue?

@mco-gh
Copy link
Contributor

mco-gh commented Nov 3, 2022

Sorry about this, the oauth flow claat is using has been deprecated for security reasons. I'll try to fix this when I get a chance but I don't currently have an ETA.

Can't think of a work around for this because if claat can't access your docs, it can't export the codelab.

@mco-gh
Copy link
Contributor

mco-gh commented Nov 6, 2022

I think I have a fix for this now. I'll follow up here once it's merged.

@OrcaV
Copy link

OrcaV commented Nov 6, 2022

Hi thanks @mco-gh, just to confirm if I get this right.

  1. I check out your branch authfix.
  2. cd tools/claat.
  3. go build . to create claat.
  4. claat export GOOGLE_DOC_ID (e.g. claat export 1E6XMcdTexh5O8JwGy42SY3Ehzi8gOfUGiqTiUX6N04o, from https://docs.google.com/document/d/1E6XMcdTexh5O8JwGy42SY3Ehzi8gOfUGiqTiUX6N04o/edit).
  5. Then I get https://accounts.google.com/o/oauth2/auth?...........
  6. Copy & Paste the above to a web browser.
  7. I still get Error 400: invalid_request.

@OrcaV
Copy link

OrcaV commented Nov 6, 2022

Sorry please ignore me, it works!!! thanks a lot. I mistakenly use the wrong claat instance.

@mco-gh
Copy link
Contributor

mco-gh commented Nov 6, 2022

np and good catch for anyone who tries this before the PR is merged - you'll want to use the version you built locally under bin/claat.

@mco-gh
Copy link
Contributor

mco-gh commented Nov 10, 2022

fixed in v2.2.5

@mco-gh mco-gh closed this as completed Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants