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.

Surfacing auth error for Enterprise sign-in post oAuth

See original GitHub issue

Initial Desktop sign-up process: After using the sign-in with the browser link for Enterprise, I was unable to login (as I expected in my testing), however, I never was shown our generic auth error following the browser’s oauth process redirect back to Desktop.

I purposefully added www to the URL, and used http instead of https to trigger the error. The console caught the 404 requestOAuthToken: failed with endpoint error but the user should also be notified with our generic messaging.

Reproduce:

  • Revert Desktop to initial setup
  • Select Enterprise sign via browser
  • Manipulate the URL (I added www and used non-SSL)
  • Oauth should open in browser and redirect back to Desktop
  • No error surfaced to user
screen shot 2018-01-09 at 1 34 49 pm

However, repeating the same process from the Preferences modal, results in a surfaced error as intended: screen shot 2018-01-10 at 11 16 50 am

Perhaps we could mirror this error in the sign-up process? (Side note: if we show “continue with the browser” button in above modal, it just creates a loop for the user. Only option should be to cancel.)

mac os x, 1.0.12-beta1

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
iAmWillShepherdcommented, Apr 30, 2018

@shiftkey, I’ve moved this to milestone 1.2.x so we can close out 1.1.x.

0reactions
billygriffincommented, Jul 1, 2019

I think we ought to let this one surface organically. Closing for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Oauth2 Authentication Error Logs? - Microsoft Community
1. This happens as an end user. So, in the Oauth Flow, the Authorization Server, Sharepoint, presents the Authorization UI ("Trust It") ...
Read more >
Azure AD Oauth2 gives error after authorization request
After I enter my email and password, I am redirected to https://login.microsoftonline.com/common/federation/oauth2 with these errors.
Read more >
Solved: OAuth Refresh token has expired after 90 days
The oauth token expires after 90 days and we have to login to the Office365 POP mailbox from Rightfax and renew the token....
Read more >
Account linking with OAuth-based Google Sign-in ...
If the corresponding Google account is already present in your authentication system, your token exchange endpoint returns a token for the user.
Read more >
OAuth 2.0 authentication vulnerabilities | Web Security Academy
OAuth authentication · The user chooses the option to log in with their social media account. · After receiving an access token, the...
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