next-auth
next-auth copied to clipboard
neo4j adapter + strava provider error
Adapter type
@next-auth/neo4j-adapter
Environment
System: OS: macOS 11.6 CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz Memory: 427.27 MB / 8.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 16.15.0 - /usr/local/bin/node Yarn: 1.17.3 - /usr/local/bin/yarn npm: 8.5.5 - /usr/local/bin/npm Browsers: Chrome: 101.0.4951.54 Firefox: 76.0.1 Safari: 14.1.2 npmPackages: next: 12.1.5 => 12.1.5 next-auth: ^4.3.4 => 4.3.4 react: 18.1.0 => 18.1.0
Reproduction URL
https://github.com/m1stermanager/strava-neo-bug
Describe the issue
whenever using the neo4j adapter w/ the strava provider, the following error is thrown:
Property values can only be of primitive types or arrays thereof. Encountered: Map{country -> String("United States"), <additional properties from my personal strava profile>\n
+
'\n' +
' at captureStacktrace (/Users/
How to reproduce
use the strava provider w/ the neo4j adapter
Expected behavior
provider and adapter would be expected to work such that appropriate nodes are created in DB