Menu

#106 Support auto-detecting token and DB URL from pasted connection string

open
nobody
2026-03-24
2026-03-24
Anonymous
No

Originally created by: dory-finn

Description

Currently, when users connect to a database (e.g. Turso/libsql), they need to manually extract and fill in:

auth token
database URL

This creates unnecessary friction, especially when users already have a full connection string.

Example input:

eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9...
libsql://main-lxw15337674.aws-ap-northeast-1.turso.io
Problem

Users often receive or copy a full connection payload that contains both:

JWT token
database URL

But currently:

They must manually split and paste into separate fields
This is error-prone and hurts onboarding experience
Proposal

Allow users to paste the full connection string (or mixed content), and automatically:

Detect and extract the JWT token
Detect and extract the database URL (e.g. libsql://...)
Autofill corresponding fields
Expected Behavior

When user pastes content into input:

System parses text
Automatically fills:
Token field
DB URL field

No need for manual copy-paste of each field.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB