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

When you enter same session to different adapter its not creating user on mongo db #6940

Open
myagizmaktav opened this issue Mar 13, 2023 · 0 comments
Labels
providers triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.

Comments

@myagizmaktav
Copy link

Provider type

GitHub, Google

Environment

System:
OS: Windows 10 10.0.19045
CPU: (6) x64 AMD Ryzen 5 1600X Six-Core Processor
Memory: 7.71 GB / 15.93 GB
Binaries:
Node: 19.6.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 9.6.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Spartan (44.19041.1266.0), Chromium (110.0.1587.63)
Internet Explorer: 11.0.19041.1566
VS Code version: Code 1.76.1 (5e805b79fcb6ba4c2d23712967df89a089da575b, 2023-03-08T16:32:00.131Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: No

System Info
Item Value
CPUs AMD Ryzen 5 1600X Six-Core Processor (6 x 3600)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) undefined
Memory (System) 15.93GB (6.39GB free)
Process Argv --crash-reporter-id 06b3482d-b293-44aa-b21d-84924d988bb0
Screen Reader no
VM 0%
Extensions (109)
Extension Author (truncated) Version
html-snippets abu 0.2.1
calculate aca 2.1.0
codesnap adp 1.3.4
hugofy akm 0.1.1
TabOut alb 0.2.2
golangwithdidi ald 0.0.1
laravel-extra-intellisense ami 0.6.2
html-end-tag-labels ant 0.11.0
htmlplay bia 0.0.10
vscode-intelephense-client bme 1.9.5
vscode-tailwindcss bra 0.9.8
jsonviewer cci 1.3.2
turbo-console-log Cha 2.7.1
path-intellisense chr 2.8.4
regex chr 0.4.0
bracket-select chu 2.0.2
laravel-goto-view cod 1.3.8
doxdocgen csc 1.4.0
vscode-mysql-client2 cwe 6.2.4
vscode-eslint dba 2.4.0
githistory don 0.6.20
es7-react-js-snippets dsz 4.4.3
brackethighlighter Dur 2.3.1
vscode-babel-coloring dza 0.0.4
gitlens eam 13.3.2
vscode-html-css ecm 1.13.1
LogFileHighlighter emi 2.16.0
prettier-vscode esb 9.10.4
lana Fin 1.5.2
auto-rename-tag for 0.1.10
code-runner for 0.12.0
html-slim-scss-css-class-completion gen 1.7.8
copilot Git 1.72.8614
copilot-labs Git 0.12.791
vscode-pull-request-github Git 0.60.0
live-sass gle 6.0.3
laravel-create-view gli 0.0.6
go gol 0.38.0
gc-excelviewer Gra 4.2.56
vscode-graphql Gra 0.8.6
vscode-graphql-syntax Gra 1.1.0
vscode-auto-open-markdown-preview hnw 0.0.4
beautify Hoo 1.5.0
vscode-htmlhint HTM 1.0.4
vscode-fast-folder-structure Huu 3.9.1
discord-vscode icr 5.8.0
laravel-blade-wrapper IHu 1.0.1
vscode-cloak joh 0.5.0
vscode-peacock joh 4.2.2
bracket-peek jom 1.4.4
vscode-gutter-preview kis 0.30.0
vscode-fix-checksums leh 1.1.0
node-module-intellisense lei 1.5.0
php-namespace-resolver Meh 1.1.9
git-graph mhu 1.30.0
dotenv mik 1.0.1
vscode-scss mrm 0.10.0
vscode-docker ms- 1.24.0
mssql ms- 1.17.1
python ms- 2023.4.1
vscode-pylance ms- 2023.3.20
jupyter ms- 2023.2.1200692131
jupyter-keymap ms- 1.1.0
vscode-jupyter-cell-tags ms- 0.1.6
vscode-jupyter-slideshow ms- 0.1.5
remote-containers ms- 0.282.0
remote-wsl ms- 0.76.1
vscode-typescript-next ms- 5.1.20230312
vsliveshare ms- 1.0.5834
vscode-react-native-preview msj 2023.3.920
laravel-goto-components nao 1.2.0
gremlins nho 0.26.0
indent-rainbow ode 8.3.1
laravel-blade one 1.32.0
laravel-extension-pack one 1.1.0
laravel5-snippets one 1.15.0
phpstorm-snippets phi 1.1.2
material-icon-theme PKi 4.24.0
tsimporter pmn 2.0.1
git-file-history pom 1.0.1
vscode-css-peek pra 4.2.0
gotestexplorer pre 0.1.13
prisma Pri 4.11.0
quicktype qui 12.0.46
vscode-thunder-client ran 2.5.1
typescript-hero rbb 3.0.0
vscode-yaml red 1.12.1
LiveServer rit 5.7.9
vs-code-prettier-eslint rve 5.1.0
laravel-artisan rya 0.0.28
gpack Sey 1.0.0
file-tree-generator Shi 1.1.1
vscode-scss-formatter sib 2.4.5
html-to-css-autocompletion sol 1.1.2
autoimport ste 1.5.4
move-ts str 1.12.0
vscode-stylelint sty 1.2.4
sass-indented syl 1.8.26
html-preview-vscode tht 0.2.5
errorlens use 3.7.0
intellicode-api-usage-examples Vis 0.2.7
vscodeintellicode Vis 1.2.30
vscode-svg-previewer vit 0.7.0
vscode-conventional-commits viv 1.25.0
extract-folder VoI 1.0.2
change-case wma 1.0.0
JavaScriptSnippets xab 1.8.0
markdown-all-in-one yzh 3.5.0
html-css-class-completion Zig 1.20.0

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewvextcfv2:30681851
azure-dev_surveyone:30548225
vscccc:30610679
pyindex848:30662994
nodejswelcome1cf:30587006
3biah626:30602489
pyind779:30671433
f6dab269:30613381
vscrp:30673768
pythonsymbol12:30671437
2i9eh265:30646982
funwalk2cf:30682975

Reproduction URL

https://github.com/foxsnow38/netflixCloneNext

Describe the issue

If you authenticate with a different provider with different accounts, using the same session, MongoDB will not create second a new user info.

How to reproduce

To test multiple account logins with different providers, simply visit the login page twice within the same session and attempt to log in using different accounts.

I am currently building a Netflix clone based on this video tutorial (https://youtu.be/mqUN4N2q4qY?t=5625). The first commit in my repository contains the code for the authentication page. You can test the authentication page by cloning the repository and running the code using Next.js.

Expected behavior

Create user infos in same session.

@myagizmaktav myagizmaktav added providers triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime. labels Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
providers triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Projects
None yet
Development

No branches or pull requests

1 participant