🐛 Bug Report: No One-Time link option #31

Closed
opened 2025-10-06 23:58:51 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @backstab5983 on GitHub.

Reproduction steps

  1. Go to https://pocket-id.myactualdomain.com/settings/admin/users
  2. Click on the three dots next to the user I want to send link to
  3. No option to send link to generate passkey

Expected behavior

Have option to send link to generate passkey

Actual Behavior

Trying to follow the steps in here: https://pocket-id.org/docs/setup/user-management under 'One-Time Link'

Image

This is what I see if I click on the three dots next to the test user I just created.

Pocket ID Version

1.10.0

Database

SQLite

OS and Environment

Docker on Ubuntu 24.04, served using SWAG (nginx)

Compose:

services:
  pocket-id:
    image: ghcr.io/pocket-id/pocket-id
    container_name: pocket-id
    restart: unless-stopped
    env_file: .env
    ports:
      - 1411:1411
    volumes:
      - /data/dockerdata/pocket-id:/app/data
    # Optional healthcheck
    healthcheck:
      test:
        - CMD
        - /app/pocket-id
        - healthcheck
      interval: 1m30s
      timeout: 5s
      retries: 2
      start_period: 10s
    networks:
      - swag
networks:
  swag:
    external: true

.env

APP_URL=https://pocket-id.myactualdomain.com
TRUST_PROXY=true
MAXMIND_LICENSE_KEY=redacted
PUID=1000
PGID=1000
ENCRYPTION_KEY=redacted

pocket-id.subdomain.conf

server {
    listen 443 ssl;
    listen 443 quic;
    listen [::]:443 ssl;
    listen [::]:443 quic;

    server_name pocket-id.*;

    include /config/nginx/ssl.conf;

    client_max_body_size 0;

    location / {

        include /config/nginx/proxy.conf;
        include /config/nginx/resolver.conf;
        set $upstream_app pocket-id;
        set $upstream_port 1411;
        set $upstream_proto http;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port;
    }

     location ~ (/pocket-id)?/api {
         include /config/nginx/proxy.conf;
         include /config/nginx/resolver.conf;
         set $upstream_app pocket-id;
         set $upstream_port 1411;
         set $upstream_proto http;
         proxy_pass $upstream_proto://$upstream_app:$upstream_port;

     }
}

proxy.conf

# Timeout if the real server is dead
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;

# Pocket ID custom Settings
proxy_busy_buffers_size   512k;
proxy_buffers   4 512k;
proxy_buffer_size   256k;

# Proxy Connection Settings
proxy_connect_timeout 240;
proxy_headers_hash_bucket_size 128;
proxy_headers_hash_max_size 1024;
proxy_http_version 1.1;
proxy_read_timeout 240;
proxy_redirect http:// $scheme://;
proxy_send_timeout 240;

# Proxy Cache and Cookie Settings
proxy_cache_bypass $cookie_session;
#proxy_cookie_path / "/; Secure"; # enable at your own risk, may break certain apps
proxy_no_cache $cookie_session;

# Proxy Header Settings
proxy_set_header Connection $connection_upgrade;
proxy_set_header Early-Data $ssl_early_data;
proxy_set_header Host $host;
proxy_set_header Proxy "";
proxy_set_header Upgrade $http_upgrade;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Method $request_method;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-Ssl on;
proxy_set_header X-Forwarded-Uri $request_uri;
proxy_set_header X-Original-Method $request_method;
proxy_set_header X-Original-URL $scheme://$http_host$request_uri;
proxy_set_header X-Real-IP $remote_addr;
Originally created by @backstab5983 on GitHub. ### Reproduction steps 1. Go to https://pocket-id.myactualdomain.com/settings/admin/users 2. Click on the three dots next to the user I want to send link to 3. No option to send link to generate passkey ### Expected behavior Have option to send link to generate passkey ### Actual Behavior Trying to follow the steps in here: https://pocket-id.org/docs/setup/user-management under 'One-Time Link' <img width="1391" height="839" alt="Image" src="https://github.com/user-attachments/assets/50a220b6-9e58-4211-962d-c6b25f3aa0ca" /> This is what I see if I click on the three dots next to the test user I just created. ### Pocket ID Version 1.10.0 ### Database SQLite ### OS and Environment Docker on Ubuntu 24.04, served using SWAG (nginx) Compose: ``` services: pocket-id: image: ghcr.io/pocket-id/pocket-id container_name: pocket-id restart: unless-stopped env_file: .env ports: - 1411:1411 volumes: - /data/dockerdata/pocket-id:/app/data # Optional healthcheck healthcheck: test: - CMD - /app/pocket-id - healthcheck interval: 1m30s timeout: 5s retries: 2 start_period: 10s networks: - swag networks: swag: external: true ``` .env ``` APP_URL=https://pocket-id.myactualdomain.com TRUST_PROXY=true MAXMIND_LICENSE_KEY=redacted PUID=1000 PGID=1000 ENCRYPTION_KEY=redacted ``` pocket-id.subdomain.conf ``` server { listen 443 ssl; listen 443 quic; listen [::]:443 ssl; listen [::]:443 quic; server_name pocket-id.*; include /config/nginx/ssl.conf; client_max_body_size 0; location / { include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; set $upstream_app pocket-id; set $upstream_port 1411; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; } location ~ (/pocket-id)?/api { include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; set $upstream_app pocket-id; set $upstream_port 1411; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; } } ``` proxy.conf ``` # Timeout if the real server is dead proxy_next_upstream error timeout invalid_header http_500 http_502 http_503; # Pocket ID custom Settings proxy_busy_buffers_size 512k; proxy_buffers 4 512k; proxy_buffer_size 256k; # Proxy Connection Settings proxy_connect_timeout 240; proxy_headers_hash_bucket_size 128; proxy_headers_hash_max_size 1024; proxy_http_version 1.1; proxy_read_timeout 240; proxy_redirect http:// $scheme://; proxy_send_timeout 240; # Proxy Cache and Cookie Settings proxy_cache_bypass $cookie_session; #proxy_cookie_path / "/; Secure"; # enable at your own risk, may break certain apps proxy_no_cache $cookie_session; # Proxy Header Settings proxy_set_header Connection $connection_upgrade; proxy_set_header Early-Data $ssl_early_data; proxy_set_header Host $host; proxy_set_header Proxy ""; proxy_set_header Upgrade $http_upgrade; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Method $request_method; proxy_set_header X-Forwarded-Port $server_port; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-Ssl on; proxy_set_header X-Forwarded-Uri $request_uri; proxy_set_header X-Original-Method $request_method; proxy_set_header X-Original-URL $scheme://$http_host$request_uri; proxy_set_header X-Real-IP $remote_addr; ```
Author
Owner

@stonith404 commented on GitHub:

Thanks, the docs were wrong, you have to click "Login Code". The docs are fixed now.

@stonith404 commented on GitHub: Thanks, the docs were wrong, you have to click "Login Code". The docs are fixed now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id#31