question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Banana Cake Pop OAuth2 broke with V2

See original GitHub issue

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I use the downloaded version of Banana Cake Pop, and was able to use OAuth2 perfectly. But ever since updating to BCP 2.0.0, my OAuth flow logs me in, and then throws “Either the parameter query or the parameter id has to be set” Full error: {"errors":[{"message":"Either the parameter query or the parameter id has to be set.","extensions":{"code":"HC0013"}}]}

I tried downgrading back to BCP 1.0.0 but since today that has started throwing CORS errors so I assume something changed serverside?

The only issue I found related to this error is one where it’s said that you should use the client and not the web browser for OAuth, but I am doing that.

Steps to reproduce

The OAuth2 provider I’m using is Azure AD. Authenticating with OAuth2 with “Implicit” grant type, and “Access token” as response.

Relevant log output

Error code show in popup window:

{"errors":[{"message":"Either the parameter query or the parameter id has to be set.","extensions":{"code":"HC0013"}}]}

Error shown in dev console:

DOMException: Blocked a frame with origin "banana-cake-pop://app" from accessing a cross-origin frame.
    at banana-cake-pop://app/static/js/243.082d6152.chunk.js:1:114770

Additional Context?

image

Product

Banana Cake Pop

Version

2.0.0

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
JamieBerghmanscommented, Oct 10, 2022

Yes! Thanks for the quick help! I’ll patiently wait for the V2 fix now 😃

0reactions
jhpetersencommented, Oct 12, 2022

No worries, it’s an open source project and i really appreciate your hard work on this! 🏅 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Banana Cake Pop OAuth 2 redirection fails with error ...
When using Edge (Chromium-based), the same error briefly appears when the redirect URL is called, but the tab quickly closes and the token...
Read more >
How do I setup authentication in the Banana Cake Pop (BCP ...
The BCP IDE supports OAuth 2 and in Nexar the Authorization Code ... and under the "Authorization" tab select “OAuth2” from the drop-down:....
Read more >
Banana Cake Pop is in da Cloud!
Today we're introducing a new version of Banana Cake Pop packed with cool features like Personal Workspace, ... OAuth 2; Bearer; Basic.
Read more >
Introduction - Banana Cake Pop
Banana Cake Pop is a tool for developers, simplifying API creation, debugging, and collaboration. It enables effortless execution of GraphQL ...
Read more >
Untitled
#What Codice sconto guess, Tom petty tour dates 2013, Integration of 2 functions, Literature review inconsistent examine, Grimes and musk still together, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found