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

Add :debug-connectivity frame to help debugging bolt connections #1895

Merged
merged 20 commits into from
Mar 14, 2023

Conversation

OskarDamkjaer
Copy link
Contributor

@OskarDamkjaer OskarDamkjaer commented Mar 10, 2023

The error messages we give historically when attempting to connect to neo4j have not been very helpful. This PR is a step to surface errors earlier and attempt to help users resolve connection issues

return { status: 'parsingJsonFailed', error: error as Error }
}

if ('auth_config' in json && 'oidc_providers' in json.auth_config) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be easier to read with early returns

@OskarDamkjaer OskarDamkjaer merged commit a8030dd into neo4j:master Mar 14, 2023
@OskarDamkjaer OskarDamkjaer deleted the better_login_flow branch March 14, 2023 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants