-
-
Notifications
You must be signed in to change notification settings - Fork 824
Closed
Labels
bugSomething isn't workingSomething isn't workingpri/highHigh priority issueHigh priority issuestatus/approvedThis issue is ready to be implementedThis issue is ready to be implemented
Milestone
Description
Describe the Bug
I have a brand new docker compose stack and i wanted to set up authentication via my authentik setup.
so far so good it worked great with user accounts that already existed.
But when i log in with a user that doesn't have a karakeep account i get an application error:
Application error: a server-side exception has occurred (see the server logs for more information).
Digest: 4237581454
The logs:
karakeep-web | d [TRPCError]: User settings not found
karakeep-web | at /app/apps/web/.next/server/chunks/6815.js:1:41820
karakeep-web | at async X.h.middlewares (/app/apps/web/.next/server/chunks/269.js:4:46337)
karakeep-web | at async F (/app/apps/web/.next/server/chunks/269.js:7:68)
karakeep-web | at async G (/app/apps/web/.next/server/chunks/269.js:4:45731)
karakeep-web | at async F (/app/apps/web/.next/server/chunks/269.js:7:68)
karakeep-web | at async F (/app/apps/web/.next/server/chunks/269.js:7:68)
karakeep-web | at async F (/app/apps/web/.next/server/chunks/269.js:7:68)
karakeep-web | at async G (/app/apps/web/.next/server/chunks/269.js:4:46537)
karakeep-web | at async /app/apps/web/.next/server/chunks/269.js:7:5476
karakeep-web | at async Promise.all (index 1) {
karakeep-web | cause: undefined,
karakeep-web | code: 'NOT_FOUND',
karakeep-web | digest: '4237581454'
karakeep-web | }
the ui seems to indicate that the user was created after the login attempt and when first creating a user through karakeep UI and then linking it to oauth it works as expected.
Steps to Reproduce
- set up a new karakeep instance
- connect oauth
- attempt to log in with oauth user that is not already created in karakeep
Expected Behaviour
login should work as expected without server side error
Screenshots or Additional Context
Device Details
No response
Exact Karakeep Version
0.25.0
Have you checked the troubleshooting guide?
- I have checked the troubleshooting guide and I haven't found a solution to my problem
link-webcreations and benniekiss
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpri/highHigh priority issueHigh priority issuestatus/approvedThis issue is ready to be implementedThis issue is ready to be implemented