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.

OAuth2 auth code flow

See original GitHub issue

Describe the bug OAuth2 does not work with Google. Have tried both the authorization code flow and implicit grant flow, and both have the same error. The OAuth2 client credentials type in the Google console is “Web application”.

This browser or app may not be secure.

Try using a different browser. If you’re already using a supported browser, you can refresh your screen and try again to sign in.

To Reproduce Steps to reproduce the behavior:

  1. Use a request using oAuth2
  2. Use Google as the identity provider for sign in

Expected behavior It should work.

Screenshots image

Desktop (please complete the following information):

  • OS: Linux
  • Installation Method: Flatpak
  • App Version: 2021.3.0

Additional context Same issue as https://github.com/Kong/insomnia/issues/2185.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
dimitropouloscommented, Jun 4, 2021

I’ve used firebase auth (to great success!) so I think I understand what you’re trying to do. This is helpful that you describe it because I would, frankly, also expect it to work with firebase auth like you’re trying.

I don’t have an immediate response on this, but I want you to know that we’re aware of this and will look into it, although I cannot provide an estimate.

On a personal note, I want this to work just for my own use, if nothing else, haha.

0reactions
dixonwillecommented, Jul 29, 2021

I can verify that what @popovanastas is probably the issue. I was seeing it with Auth0. When using Postman though, I can’t used their backed in browser or I get the same error…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Authorization Code Flow - Auth0
Because regular web apps are server-side apps where the source code is not publicly exposed, they can use the Authorization Code Flow (defined...
Read more >
Microsoft identity platform and OAuth 2.0 authorization code flow
The OAuth 2.0 authorization code grant type, or auth code flow, enables a client application to obtain authorized access to protected ...
Read more >
OAuth 2.0 Authorization Code Grant Type
The Authorization Code grant type is used by confidential and public clients to exchange an authorization code for an access token. After the...
Read more >
What is the OAuth 2.0 Authorization Code Grant Type?
The Authorization Code Flow · The application opens a browser to send the user to the OAuth server · The user sees the...
Read more >
Authorization Code Grant - OAuth 2.0 Simplified
The authorization code flow offers a few benefits over the other grant types. When the user authorizes the application, they are redirected ...
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