[GH-ISSUE #2217] Can't get OATH linked to existing account when logging in with PocketID #1356

Open
opened 2026-03-02 11:56:44 +03:00 by kerem · 1 comment
Owner

Originally created by @titandrive on GitHub (Dec 3, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/2217

Describe the Bug

I followed the instructions here to setup PocketID with Karakeep.

Here are my environmental variables:

      OAUTH_WELLKNOWN_URL: https://pocketid.url.org/.well-known/openid-configuration
      OAUTH_CLIENT_SECRET: "xxxxx"
      OAUTH_CLIENT_ID: "xxxxx"
      OAUTH_PROVIDER_NAME: Pocket-ID
      DISABLE_PASSWORD_AUTH: false
      OAUTH_ALLOW_DANGEROUS_EMAIL_ACCOUNT_LINKING: true

Despite enabling account linking, I can't seem to get it to link my existing account with pocketID. Everytime I try to login, it just creates a new user.

Is there another setting I need to enable or something else I have to do for it to link the two, instead of creating a new user upon login?

Steps to Reproduce

  1. Setup Pocket ID
  2. Add envs
  3. Login with Pocket ID

Expected Behaviour

For it to link my existing user account with the token.

Screenshots or Additional Context

No response

Device Details

No response

Exact Karakeep Version

0.29.1

Have you checked the troubleshooting guide?

  • I have checked the troubleshooting guide and I haven't found a solution to my problem
Originally created by @titandrive on GitHub (Dec 3, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/2217 ### Describe the Bug I followed the instructions [here](https://pocket-id.org/docs/client-examples/karakeep) to setup PocketID with Karakeep. Here are my environmental variables: ``` OAUTH_WELLKNOWN_URL: https://pocketid.url.org/.well-known/openid-configuration OAUTH_CLIENT_SECRET: "xxxxx" OAUTH_CLIENT_ID: "xxxxx" OAUTH_PROVIDER_NAME: Pocket-ID DISABLE_PASSWORD_AUTH: false OAUTH_ALLOW_DANGEROUS_EMAIL_ACCOUNT_LINKING: true ``` Despite enabling account linking, I can't seem to get it to link my existing account with pocketID. Everytime I try to login, it just creates a new user. Is there another setting I need to enable or something else I have to do for it to link the two, instead of creating a new user upon login? ### Steps to Reproduce 1. Setup Pocket ID 2. Add envs 3. Login with Pocket ID ### Expected Behaviour For it to link my existing user account with the token. ### Screenshots or Additional Context _No response_ ### Device Details _No response_ ### Exact Karakeep Version 0.29.1 ### Have you checked the troubleshooting guide? - [x] I have checked the troubleshooting guide and I haven't found a solution to my problem
Author
Owner

@MohamedBassem commented on GitHub (Dec 4, 2025):

are both emails(for oauth and your existing account) identical? If you check the admin page, you'll probably see differences between the two emails

<!-- gh-comment-id:3610682005 --> @MohamedBassem commented on GitHub (Dec 4, 2025): are both emails(for oauth and your existing account) identical? If you check the admin page, you'll probably see differences between the two emails
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#1356
No description provided.