Hi Allan,
I’m still getting this, and I’m on selfhosted 1.5.11.121 (latest), seems this issue is still somehow there New Users can’t Login - OpenCore - OpenIAP.
Tried with auto_create_user_from_jwt
on and off, still the same. Any ideas how to fix?
Basically I’ve setup the Microsoft OIDC login provider, seems to work, but the new user gets unknown user user@domain.com
in the browser, after the login via Microsoft login pages. If I turn on the auto_create_user
, it works to login via Microsoft provider, but you can’t really control the rights in this case. It somehow auto adds the default rights even if I update them, so auto_create_user
on is not an option.
And this is the api logs
query failed with: Not signed in, and missing jwt
Error: Not signed in, and missing jwt
at protowrap.IsPendingReply (file:///app/dist/public/server/chunks/auth.svelte-DeK_AaVj.js:4028:41)
at parser.ondata (file:///app/dist/public/server/chunks/auth.svelte-DeK_AaVj.js:3832:31)
at messageParser.write (file:///app/dist/public/server/chunks/auth.svelte-DeK_AaVj.js:3687:18)
at ws.onmessage (file:///app/dist/public/server/chunks/auth.svelte-DeK_AaVj.js:3822:20)
at callListener (file:///app/dist/public/server/chunks/module-CcjLScfg.js:10733:15)
at WebSocket.onMessage (file:///app/dist/public/server/chunks/module-CcjLScfg.js:10652:10)
at WebSocket.emit (node:events:524:28)
at Receiver.receiverOnMessage (file:///app/dist/public/server/chunks/module-CcjLScfg.js:12173:21)
at Receiver.emit (node:events:524:28)
at Receiver.dataMessage (file:///app/dist/public/server/chunks/module-CcjLScfg.js:9686:15) {
serverstack: '',
code: 0
}
core-web version 0.1.2.15 git commit 87ec93f opencore version 1.5.11.121
[server][INF] Client connected, client count 4
[server][INF] close n7duhffhw ws 172.18.0.1 undefined
[server][ERR] Disconnected client, client count 3
[server][INF] Client connected, client count 4
[server][INF] close v8osi3xit ws 172.18.0.1 undefined
[server][ERR] Disconnected client, client count 3
unknown user user@domain.com```